/* =========================================================
   Duchovní probuzení – vlastní styly
   Barvy: modrá / bílá / zlatá
   ========================================================= */

:root {
	--dp-blue:        #3a5a8c; /* hlubší modrá – nadpisy, logo */
	--dp-blue-soft:   #6f8cba; /* jemnější modrá – text */
	--dp-blue-wash:   #d6e4f5; /* akvarelová světle modrá – pozadí */
	--dp-gold:        #c79a3b; /* zlatá – akcenty, linky */
	--dp-gold-light:  #e3c777; /* světlá zlatá */
	--dp-white:       #ffffff;
	--dp-ink:         #33465f; /* základní text */

	--dp-font-heading: 'Cinzel', serif;             /* velké nadpisy, uppercase */
	--dp-font-body:    'Cormorant Garamond', serif; /* běžný text, elegantní serif */
	--dp-font-script:  'Great Vibes', cursive;       /* zlatý rukopisný akcent */
}

/* ---------------------------------------------------------
   Patička vždy dole, bez mezery pod ní na krátkých stránkách.
   body = hlavička + obsah (roste) + patička (přirozená výška).
   --------------------------------------------------------- */
html {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body > header.site-header {
	flex: 0 0 auto;
}

body > div.elementor {
	flex: 1 0 auto;
	background-image: url('img/hero-bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

body > main.dp-blog-page {
	flex: 1 0 auto;
	background-image: url('img/hero-bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

body > footer.site-footer {
	flex: 0 0 auto;
}

body {
	font-size: 19px;
}

body, p, li, span {
	font-family: var(--dp-font-body);
}

h1, h2, h3, h4, h5, h6,
.dp-heading {
	font-family: var(--dp-font-heading);
	color: var(--dp-blue);
	letter-spacing: 0.04em;
}

.dp-script {
	font-family: var(--dp-font-script);
	color: var(--dp-gold);
}

/* Výchozí odrážka obsahových seznamů: malé plné zlaté srdce. */
.elementor-widget-text-editor ul,
.dp-article-content ul {
	list-style: none;
	padding-left: 0;
	text-align: left;
}

.elementor-widget-text-editor ul > li,
.dp-article-content ul > li {
	position: relative;
	padding-left: 22px;
}

.elementor-widget-text-editor ul > li::before,
.dp-article-content ul > li::before {
	content: '♥';
	position: absolute;
	top: 0.55em;
	left: 0;
	color: var(--dp-gold);
	font-size: 10px;
	line-height: 1;
}

/* ---------------------------------------------------------
   Odkazy a hlavička/patička – přebít výchozí barvu Hello Elementor
   --------------------------------------------------------- */
a {
	color: var(--dp-blue);
}

a:hover {
	color: var(--dp-gold);
}

.site-header {
	background-image: url('img/hero-bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 1px solid var(--dp-gold-light);
}

.site-header .header-inner {
	width: min(1320px, calc(100% - 48px));
	max-width: none;
	flex-wrap: nowrap;
	align-items: center;
	gap: 32px;
	padding: 14px 0;
}

.site-header .site-branding {
	flex: 0 0 210px;
	min-width: 0;
}

.dp-brand-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 210px;
	color: inherit;
	text-decoration: none;
}

.dp-brand-logo:hover {
	text-decoration: none;
}

.dp-brand-mark {
	display: block;
	flex: 0 0 60px;
	width: 60px;
}

.dp-brand-mark img {
	display: block;
	width: 100%;
	height: auto;
}

.dp-brand-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-family: var(--dp-font-heading);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.dp-brand-title {
	color: var(--dp-blue);
	font-family: var(--dp-font-heading);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.dp-brand-subtitle {
	margin-top: 7px;
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.22em;
}

.site-header .site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
}

.site-header .site-navigation ul.menu {
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 0;
}

.site-header .site-navigation > ul.menu > li,
.site-footer .site-navigation > ul.menu > li {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.site-header .site-navigation > ul.menu > li:not(:last-child)::after,
.site-footer .site-navigation > ul.menu > li:not(:last-child)::after {
	content: '';
	flex: 0 0 4px;
	width: 4px;
	height: 4px;
	margin: 0 clamp(8px, 1vw, 15px);
	border-radius: 50%;
	background: var(--dp-gold);
}

.site-header .site-navigation ul.menu li a {
	padding: 10px 0;
	white-space: nowrap;
	font-size: clamp(11px, 0.82vw, 14px);
}

.site-header .site-navigation ul.menu li.current-menu-item > a {
	color: var(--dp-gold);
}

.site-header .site-branding .site-title a,
.site-footer .site-branding .site-title a {
	color: var(--dp-blue);
}

.site-navigation ul.menu li a,
.site-navigation-dropdown ul.menu li a {
	color: var(--dp-blue);
	font-family: var(--dp-font-heading);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
}

.site-navigation ul.menu li a:hover,
.site-navigation-dropdown ul.menu li a:hover {
	color: var(--dp-gold);
}

.site-navigation ul.menu li ul {
	background: var(--dp-white);
	box-shadow: 0 10px 30px rgba(58, 90, 140, 0.16);
}

.site-footer {
	background-image: url('img/hero-bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	border-top: 1px solid var(--dp-gold-light);
}

.site-footer .copyright,
.site-footer .site-description {
	color: var(--dp-blue-soft);
}

.site-footer .site-logo img {
	max-width: 200px;
	height: auto;
}

.site-footer .dp-footer-mark img {
	display: block;
	width: 92px;
	max-width: 92px;
	height: auto;
	margin: 0 auto;
}

.site-footer .dp-footer-branding-mobile {
	display: none;
}

.site-footer .footer-inner {
	width: min(1320px, calc(100% - 48px));
	max-width: none;
	align-items: center;
	flex-wrap: nowrap;
	gap: 32px;
}

.site-footer .site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
}

.site-footer .site-navigation > ul.menu {
	flex-wrap: nowrap;
	justify-content: flex-end;
}

.site-navigation-dropdown ul.menu > li {
	position: relative;
}

.site-navigation-dropdown ul.menu > li + li::before {
	content: '';
	position: absolute;
	top: -2px;
	left: 50%;
	z-index: 1;
	width: 4px;
	height: 4px;
	padding: 0;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--dp-gold);
	box-shadow: 0 0 0 6px var(--dp-white);
}

@media (max-width: 1024px) {
	.site-header .header-inner {
		width: calc(100% - 32px);
		gap: 20px;
		padding: 12px 0;
	}

	.site-header .site-branding {
		flex-basis: 180px;
	}

	.site-header .dp-brand-logo {
		width: 180px;
		gap: 12px;
	}

	.site-header .dp-brand-mark {
		flex-basis: 52px;
		width: 52px;
	}

	.site-header .dp-brand-title {
		font-size: 16px;
	}

	.site-header .dp-brand-subtitle {
		margin-top: 6px;
		font-size: 11.5px;
	}

	.site-header .site-navigation-toggle-holder {
		margin-left: auto;
	}
}

@media (max-width: 1024px) {
	.site-navigation-dropdown ul.menu li.current-menu-item > a,
	.site-navigation-dropdown ul.menu li.current_page_item > a {
		color: var(--dp-gold) !important;
		background-color: transparent !important;
	}

	.site-footer .footer-inner {
		width: calc(100% - 32px);
		align-items: center;
		justify-content: center;
		padding: 18px 0;
		text-align: center;
	}

	.site-footer .dp-footer-branding-desktop,
	.site-footer .site-navigation {
		display: none !important;
	}

	.site-footer .dp-footer-branding-mobile {
		display: flex !important;
		justify-content: center;
		width: 100%;
	}

	.site-footer .dp-footer-branding-mobile .site-logo,
	.site-footer .dp-footer-branding-mobile a {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.site-footer .dp-brand-logo-footer {
		width: 190px;
		margin: 0 auto;
	}
}

@media (max-width: 480px) {
	.site-header .site-branding {
		flex-basis: 155px;
	}

	.site-header .dp-brand-logo {
		width: 155px;
		gap: 10px;
	}

	.site-header .dp-brand-mark {
		flex-basis: 44px;
		width: 44px;
	}

	.site-header .dp-brand-title {
		font-size: 14px;
	}

	.site-header .dp-brand-subtitle {
		margin-top: 5px;
		font-size: 10px;
	}

	.site-footer .footer-inner {
		gap: 0;
	}

}

/* ---------------------------------------------------------
   Karty osob (stránka Kdo jsme)
   --------------------------------------------------------- */
.dp-card {
	background: var(--dp-white);
	border-radius: 16px;
	box-shadow: 0 10px 34px rgba(58, 90, 140, 0.14);
	padding: 44px 30px !important;
	text-align: center;
}

.dp-avatar {
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--dp-blue-wash);
	border: 2px solid var(--dp-gold);
	margin: 0 auto 22px;
	overflow: hidden;
	display: flex;
}

.dp-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dp-avatar .elementor-heading-title {
	width: 100%;
	line-height: 128px;
	text-align: center;
	font-size: 46px;
	color: var(--dp-blue);
}

.dp-card .dp-role {
	font-style: italic;
	color: var(--dp-blue-soft);
	font-size: 19px;
	margin-bottom: 14px;
	display: block;
}

.dp-card .dp-bio {
	font-size: 19px;
	line-height: 1.6;
	color: var(--dp-ink);
	text-align: left;
	display: block;
	margin-bottom: 16px;
}

.dp-card .dp-contact {
	font-size: 16px;
	color: var(--dp-blue);
	display: block;
	line-height: 1.5;
}

.dp-card .dp-contact a {
	color: var(--dp-blue);
	text-decoration: none;
}

/* ---------------------------------------------------------
   Modlitba Krista (stránka Kristovské vědomí)
   --------------------------------------------------------- */
.dp-prayer {
	font-style: italic;
	font-size: 20px;
	line-height: 1.9;
	color: var(--dp-ink);
	text-align: center;
}

/* ---------------------------------------------------------
   Kontakty
   --------------------------------------------------------- */
.dp-contact-name {
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dp-blue-soft);
	display: block;
	margin-bottom: 6px;
}

.dp-contact-value {
	font-size: 22px;
	color: var(--dp-blue);
	display: block;
	line-height: 1.5;
}

.dp-contact-value a {
	color: var(--dp-blue);
	text-decoration: none;
}

.dp-contact-value a:hover {
	color: var(--dp-gold);
}

.dp-privacy-link {
	display: block;
	margin-top: 36px;
	text-align: center;
}

.dp-privacy-link a {
	color: var(--dp-gold);
	font-size: 15px;
	text-underline-offset: 4px;
}

.dp-legal-page .dp-article {
	border: 0;
}

.dp-legal-page .dp-article-content h2 {
	margin: 1.5em 0 0.45em;
	font-size: 24px;
}

/* ---------------------------------------------------------
   Kde se můžeme setkat
   --------------------------------------------------------- */
.dp-location-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	display: inline-block;
}

.dp-location-list:has(> li:only-child) {
	display: block;
	width: 100%;
}

.dp-location-list li {
	font-size: 19px;
	color: var(--dp-ink);
	line-height: 1.8;
	padding-left: 22px;
	position: relative;
}

.dp-meet-gallery-link {
	margin: 38px 0 0;
	text-align: center;
}

.dp-meet-gallery-link a {
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.dp-meet-gallery-link a:hover,
.dp-meet-gallery-link a:focus-visible {
	color: var(--dp-gold);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.elementor-widget-text-editor .dp-location-list li::before,
.dp-location-list li::before {
	content: '♥';
	color: var(--dp-gold);
	font-size: 10px;
	position: absolute;
	left: 0;
	top: 12px;
	line-height: 1;
}

/* ---------------------------------------------------------
   Reference (karty s viditelným textem)
   --------------------------------------------------------- */
.dp-ref-list {
	width: 100%;
	max-width: 1140px;
	margin: 40px auto 0;
	column-count: 2;
	column-gap: 28px;
}

@media (max-width: 900px) {
	.dp-ref-list {
		column-count: 1;
	}
}

.dp-ref-card {
	background: var(--dp-white);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(58, 90, 140, 0.12);
	padding: 34px 36px;
	margin-bottom: 28px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	display: inline-block;
	width: 100%;
	vertical-align: top;
}

.dp-ref-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
}

.dp-ref-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 2px solid var(--dp-gold);
	background: var(--dp-blue-wash);
	overflow: hidden;
	flex: 0 0 auto;
	display: flex;
}

.dp-ref-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dp-ref-avatar .dp-ref-init {
	width: 100%;
	text-align: center;
	line-height: 68px;
	font-family: var(--dp-font-heading);
	font-size: 28px;
	color: var(--dp-blue);
}

.dp-ref-name {
	font-family: var(--dp-font-heading);
	font-size: 20px;
	color: var(--dp-blue);
	letter-spacing: 0.04em;
}

.dp-ref-text {
	font-family: var(--dp-font-body);
	font-size: 19px;
	line-height: 1.7;
	color: var(--dp-ink);
}

.dp-ref-text p {
	margin: 0 0 12px;
}

.dp-ref-text p:last-child {
	margin-bottom: 0;
}

/* Automatické zkrácení dlouhých referencí. */
.dp-ref-card.is-collapsible .dp-ref-text {
	position: relative;
	max-height: 300px;
	overflow: hidden;
	transition: max-height 0.45s ease;
}

.dp-ref-card.is-collapsible:not(.is-expanded) .dp-ref-text::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(rgba(255, 255, 255, 0), var(--dp-white));
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.dp-ref-card.is-expanded .dp-ref-text {
	max-height: none;
}

.dp-ref-more {
	display: inline-block;
	margin-top: 16px;
	padding: 0;
	border: 0;
	color: var(--dp-gold);
	background: transparent;
	font-family: var(--dp-font-heading);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.dp-ref-more[hidden] {
	display: none;
}

.dp-ref-card .dp-ref-more:hover,
.dp-ref-card .dp-ref-more:focus-visible {
	border-color: transparent;
	color: var(--dp-gold) !important;
	background: transparent !important;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dp-ref-name {
	margin: 0;
	font-weight: 600;
}

.dp-reference-intro {
	color: var(--dp-blue);
	font-family: var(--dp-font-body);
	font-size: 19px;
	font-style: italic;
	line-height: 1.7;
}

.dp-reference-intro p {
	margin: 0;
}

.dp-reference-intro .dp-role {
	margin-top: 14px;
	font-style: normal;
}

/* ---------------------------------------------------------
   Úvodní strana - "Trojúhelník = božství"
   --------------------------------------------------------- */
.dp-home-stacked {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
}

.dp-home-stacked .dp-home-triangle {
	width: min(100%, 620px) !important;
	padding: 0 20px 24px !important;
}

.dp-home-triangle .elementor-widget-image {
	width: 100%;
	text-align: center;
}

.dp-home-triangle img {
	display: block;
	width: 100%;
	max-width: 580px;
	height: auto;
	margin: 0 auto;
}

.dp-home-stacked .dp-home-copy {
	align-items: center !important;
	width: min(100%, 900px) !important;
	padding: 0 20px !important;
	text-align: center;
}

.dp-home-copy .elementor-widget {
	width: 100%;
	text-align: center;
}

.dp-home-copy .elementor-heading-title,
.dp-home-copy .elementor-widget-text-editor,
.dp-home-copy .elementor-widget-text-editor p {
	text-align: center;
}

.dp-home-copy .elementor-widget-divider {
	align-self: center;
	width: min(80%, 640px);
}

.dp-home-copy .elementor-divider-separator {
	margin-right: auto !important;
	margin-left: auto !important;
}

.dp-home-copy .elementor-divider {
	display: flex;
	justify-content: center;
	width: 100%;
}

.dp-divider-row {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 360px;
	margin: 0 0 22px;
}

.dp-divider-row:last-child {
	margin: 26px 0 0;
}

.dp-divider-line {
	flex: 1;
	height: 1px;
	background: var(--dp-gold-light);
}

.dp-divider-heart {
	color: var(--dp-gold);
	font-size: 16px;
	line-height: 1;
}

.dp-tri-heading {
	font-family: var(--dp-font-heading);
	font-size: 28px;
	letter-spacing: 0.06em;
	margin: 0 0 22px;
	font-weight: 600;
}

.dp-tri-heading-blue {
	color: var(--dp-blue);
}

.dp-tri-heading-gold {
	color: var(--dp-gold);
}

.dp-tri-strong {
	color: var(--dp-gold);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.dp-tri-body p {
	font-family: var(--dp-font-body);
	font-size: 19px;
	line-height: 1.6;
	color: var(--dp-blue);
	margin: 0 0 18px;
}

.dp-tri-body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.dp-home-stacked .dp-home-triangle {
		width: min(100%, 480px) !important;
		padding: 0 0 20px !important;
	}

	.dp-home-stacked .dp-home-copy {
		padding: 0 !important;
	}

	.dp-home-copy .elementor-widget-divider {
		width: 86%;
	}
}

/* ---------------------------------------------------------
   Blog
   --------------------------------------------------------- */
.dp-blog-grid-wrap {
	width: 100%;
}

.dp-blog-section {
	padding: 90px 30px;
}

.dp-blog-shell {
	width: min(1100px, 100%);
	margin: 0 auto;
}

.dp-blog-intro {
	text-align: center;
}

.dp-blog-intro h1,
.dp-article-header h1 {
	margin: 0;
	color: var(--dp-blue);
	font-family: var(--dp-font-heading);
	font-size: clamp(32px, 4vw, 40px);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dp-section-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: min(60%, 560px);
	margin: 24px auto;
	color: var(--dp-gold);
}

.dp-section-divider::before,
.dp-section-divider::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: var(--dp-gold-light);
}

.dp-section-divider span {
	flex: 0 0 auto;
	font-family: serif;
	font-size: 16px;
	line-height: 1;
}

.elementor-widget.dp-section-divider-widget {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	align-self: center;
	width: min(60%, 560px);
	margin: 24px auto;
}

.dp-section-divider-widget .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.dp-section-divider-widget::before,
.dp-section-divider-widget::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: var(--dp-gold-light);
}

.dp-section-divider-widget .elementor-heading-title {
	flex: 0 0 auto;
	color: var(--dp-gold);
	font-family: serif;
	font-size: 16px;
	line-height: 1;
}

.dp-blog-intro > p {
	margin: 0 auto;
	color: var(--dp-blue);
	font-family: var(--dp-font-body);
	font-size: 19px;
	font-style: italic;
	line-height: 1.7;
}

.dp-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.dp-post-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 34px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 34px rgba(58, 90, 140, 0.12);
}

.dp-post-date {
	margin: 0 0 10px;
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dp-post-card h2 {
	margin: 0 0 18px;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.3;
}

.dp-post-card h2 a {
	color: var(--dp-blue);
	text-decoration: none;
}

.dp-post-card h2 a:hover {
	color: var(--dp-gold);
}

.dp-post-excerpt {
	flex: 1 1 auto;
	color: var(--dp-ink);
	font-family: var(--dp-font-body);
	font-size: 19px;
	line-height: 1.55;
}

.dp-read-more {
	display: inline-block;
	margin-top: 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--dp-gold) !important;
	background: transparent !important;
	font-family: var(--dp-font-heading);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.dp-read-more:hover {
	color: var(--dp-gold) !important;
	background: transparent !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dp-blog-page .navigation.pagination {
	margin-top: 40px;
	text-align: center;
}

.dp-article-shell {
	width: min(780px, 100%);
	margin: 0 auto;
}

.dp-back-link {
	display: inline-block;
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	margin-bottom: 10px;
}

.dp-article {
	padding: 44px;
	border: 1px solid rgba(199, 154, 59, 0.28);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 34px rgba(58, 90, 140, 0.12);
}

.dp-article-header {
	text-align: center;
}

.dp-article-header .dp-post-date {
	margin-bottom: 14px;
}

.dp-article-content {
	color: var(--dp-ink);
	font-family: var(--dp-font-body);
	font-size: 20px;
	line-height: 1.7;
}

.dp-article-content p {
	margin: 0 0 1.35em;
}

.dp-article-content p:last-child {
	margin-bottom: 0;
}

.dp-back-link:hover {
	color: var(--dp-gold);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dp-youtube-link {
	display: inline-block;
	margin-top: 10px;
	padding: 12px 26px;
	background: var(--dp-gold);
	color: var(--dp-white) !important;
	border-radius: 30px;
	font-family: var(--dp-font-heading);
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
}

.dp-youtube-link:hover {
	background: var(--dp-blue);
}

@media (max-width: 767px) {
	.dp-blog-section {
		padding: 60px 20px;
	}

	.dp-post-grid {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-top: 38px;
	}

	.dp-post-card,
	.dp-article {
		padding: 26px 22px;
	}

	.dp-blog-intro > p {
		font-size: 19px;
	}

	.dp-article-content {
		font-size: 19px;
	}
}

/* ---------------------------------------------------------
   Galerie
   --------------------------------------------------------- */
.dp-gallery-tile-img img {
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(58, 90, 140, 0.16);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dp-gallery-tile-img:hover img {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(58, 90, 140, 0.22);
}

.dp-gallery-tile .elementor-heading-title a {
	color: var(--dp-blue);
	text-decoration: none;
}

.dp-gallery-tile .elementor-heading-title a:hover {
	color: var(--dp-gold);
}

.elementor-widget-image-gallery .gallery-item {
	border-radius: 12px;
	overflow: hidden;
}

.elementor-widget-image-gallery .gallery-icon img {
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(58, 90, 140, 0.12);
	transition: transform 0.3s ease;
}

.elementor-widget-image-gallery .gallery-icon img:hover {
	transform: scale(1.03);
}

.dp-gallery-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	margin-top: 50px;
}

.dp-gallery-card {
	min-width: 0;
	text-align: center;
}

.dp-gallery-card-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(58, 90, 140, 0.16);
}

.dp-gallery-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dp-gallery-card-image:hover img {
	transform: scale(1.03);
}

.dp-gallery-card h2 {
	margin: 22px 0 0;
	font-size: clamp(21px, 2.4vw, 28px);
}

.dp-gallery-card h2 a {
	color: var(--dp-blue);
	text-decoration: none;
}

.dp-gallery-card h2 a:hover {
	color: var(--dp-gold);
}

.dp-gallery-description {
	color: var(--dp-blue);
	font-family: var(--dp-font-body);
	font-size: 19px;
	line-height: 1.65;
}

.dp-gallery-description p:last-child {
	margin-bottom: 0;
}

.dp-auto-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 42px;
}

.dp-auto-gallery a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(58, 90, 140, 0.12);
}

.dp-auto-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dp-auto-gallery a:hover img {
	transform: scale(1.03);
}

body.dp-lightbox-open {
	overflow: hidden;
}

.dp-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
	gap: 14px;
	padding: 32px;
	background: rgba(20, 30, 44, 0.92);
}

.dp-gallery-lightbox[hidden] {
	display: none;
}

.dp-gallery-lightbox img {
	display: block;
	justify-self: center;
	max-width: 100%;
	max-height: calc(100vh - 64px);
	object-fit: contain;
}

.dp-gallery-lightbox button {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	color: var(--dp-white);
	background: rgba(0, 0, 0, 0.3);
	font: 32px/1 sans-serif;
	cursor: pointer;
}

.dp-gallery-lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
}

@media (max-width: 767px) {
	.dp-gallery-index,
	.dp-auto-gallery {
		grid-template-columns: 1fr;
	}

	.dp-gallery-index {
		gap: 30px;
		margin-top: 38px;
	}

	.dp-auto-gallery {
		gap: 14px;
		margin-top: 34px;
	}

	.dp-gallery-lightbox {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		gap: 6px;
		padding: 18px 8px;
	}

	.dp-gallery-lightbox button {
		width: 38px;
		height: 38px;
		font-size: 26px;
	}
}

/* ---------------------------------------------------------
   Stránka 404
   --------------------------------------------------------- */
.dp-404-section {
	display: grid;
	min-height: clamp(520px, 68vh, 760px);
	padding: 70px 24px 80px;
	place-items: center;
	text-align: center;
}

.dp-404-content {
	width: min(100%, 760px);
}

.dp-404-mark {
	width: clamp(180px, 24vw, 300px);
	margin: 0 auto 24px;
}

.dp-404-mark img {
	display: block;
	width: 100%;
	height: auto;
}

.dp-404-triangle {
	display: block;
	width: 180px;
	height: 156px;
	margin: 0 auto;
	border-right: 7px solid var(--dp-gold);
	border-bottom: 7px solid var(--dp-gold);
	transform: rotate(45deg) skew(15deg, 15deg);
}

.dp-404-code {
	margin: 0 0 8px;
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.3em;
}

.dp-404-content h1 {
	margin: 0;
	font-size: clamp(32px, 4.2vw, 52px);
	line-height: 1.2;
	text-transform: uppercase;
}

.dp-404-content .dp-section-divider {
	margin: 26px auto;
}

.dp-404-message {
	margin: 0 auto;
	color: var(--dp-ink);
	font-size: 21px;
	line-height: 1.65;
}

.dp-404-home {
	display: inline-block;
	margin-top: 30px;
	color: var(--dp-gold);
	font-family: var(--dp-font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.dp-404-home:hover,
.dp-404-home:focus-visible {
	color: var(--dp-gold);
	text-decoration: underline;
	text-underline-offset: 5px;
}

@media (max-width: 767px) {
	.dp-404-section {
		min-height: 540px;
		padding: 52px 20px 60px;
	}

	.dp-404-mark {
		width: 175px;
		margin-bottom: 22px;
	}

	.dp-404-content h1 {
		font-size: 30px;
	}

	.dp-404-content .dp-section-divider {
		margin: 22px auto;
	}

	.dp-404-message {
		max-width: 330px;
		font-size: 19px;
	}
}

/* jemné doladění bude přibývat podle stavby stránek */
