.intro-yellow {
	color: #FFD870;
	font-weight: bold;
}

.intro__title {
	font-size: 4rem;
	margin-top: -10px;
}

.header__logo img {
	width: 300px; /* vyřešit */
}

.intro {
	padding-top: 0; /* vyřešit */
}

.intro__bottom-element {
    position: relative;
	z-index: 1;
    bottom: 100px;
    left: 0;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;
	align-items: start;
	margin: 0 auto;
    max-width: 1604px;
	overflow: hidden;
}

.intro-btn-new {
	color: white;
	font-weight: bold;
	border-color: transparent;
	background-color: rgba( 255, 255, 255, 0.3 );
}

.intro-btn-new:after {
	content: '';
	display: none;
}

.intro-btn-new b {
    margin-bottom: 4px;
    display: block;
	margin-right: 8px;
	color: #EAEAEA;
	font-weight: normal;
}

.intro-btn-new-active {
	background-color: white;
	color: #24367C;
}

.intro-btn-new-active b {
	color: #696969;
}

.intro-btn-new:hover {
	background-color: #FFD870;
}

.intro-btn-new:hover b {
	color: #696969;
}

.intro-btn-disabled {
	pointer-events: none;
}

.menu-underline {
	text-decoration: underline;
}

/* =========================
   Symbolika věnce – HP sekce
   ========================= */

.venec {
	padding-bottom: 6.25rem;
	padding-top: 6.25rem;
	background: #F5E8CE; /* okrová varianta 1 – teplá béžová */
	/* alternativy: #F0DFC0 (tmavší karamelová), #FBF0DA (nejsvětlejší smetanová) */
}

.venec__container {
	margin: 0 auto;
	max-width: 1604px;
	width: 90%;
}

.venec__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 4rem;
	align-items: center;
}

.venec__image {
	display: flex;
	position: relative;
}

.venec__image img {
	width: 100%;
	height: auto;
	max-width: 540px;
	margin: 0 auto;
}

.venec__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.venec__title {
	color: #5C3D1E; /* tmavě hnědá */
	/* alternativy: #266445 (tmavá zelená), #418593 (původní tyrkys) */
	font: 700 2.625rem/1.3 "Wix Madefor Display", sans-serif;
}

.venec__perex {
	font-size: 1.25rem;
	line-height: 1.7;
	font-weight: 500;
	color: #404040;
}

.venec__text {
	font-size: 1rem;
	line-height: 1.8;
	color: #7E7E7E;
}

.venec__button {
	align-items: center;
	background: #fff;
	border: 1px solid #fff;
	border-radius: 0 1.25rem;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	font: 700 1.125rem/1 "Wix Madefor Display", sans-serif;
	gap: 0 0.625rem;
	justify-content: center;
	min-height: 4.5rem;
	padding: 0.5rem 2.1875rem;
	text-align: center;
	transition: all 0.25s;
	align-self: flex-start;
}

.venec__button:hover {
	background: #FFD870;
	border-color: #FFD870;
	color: #000;
}

.venec__button--arrow::after {
	background: url("../img/button-arrow.svg") no-repeat center center;
	background-size: contain;
	content: "";
	height: 0.875rem;
	margin-top: 0.125rem;
	transition: all 0.25s;
	width: 0.875rem;
}

.venec__button--arrow:hover::after {
	animation: arrow 0.5s infinite;
}

@media (max-width: 1499px) {
	.venec__title {
		font-size: 2rem;
	}
	.venec__perex {
		font-size: 1.125rem;
	}
	.venec__button {
		font-size: 1rem;
		min-height: 3.5rem;
		padding: 0.5rem 1.5rem;
	}
}

@media (max-width: 991px) {
	.venec__grid {
		gap: 2rem;
	}
	.venec__image img {
		max-width: 400px;
	}
}

@media (max-width: 767px) {
	.venec {
		padding-bottom: 4rem;
		padding-top: 4rem;
	}
	.venec__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}
	.venec__image {
		justify-content: center;
	}
	.venec__image img {
		max-width: 320px;
	}
	.venec__content {
		text-align: center;
		align-items: center;
	}
}

@media (max-width: 575px) {
	.venec__image img {
		max-width: 260px;
	}
	.venec__content {
		gap: 1rem;
	}
}

/* =========================
   Benefiční koncert Kriplkára candec – HP sekce
   ========================= */

.kriplkara {
	padding-bottom: 6.25rem;
	padding-top: 6.25rem;
	background: #EDEDED; /* neutrální světle šedá – ladí s plakátem */
}

.kriplkara__container {
	margin: 0 auto;
	max-width: 1604px;
	width: 90%;
}

.kriplkara__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 4rem;
	align-items: center;
}

.kriplkara__image {
	display: flex;
	position: relative;
}

.kriplkara__image img {
	width: 100%;
	height: auto;
	max-width: 540px;
	margin: 0 auto;
	border-radius: 2rem 0;
}

.kriplkara__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.kriplkara__title {
	color: #1A1A1A;
	font: 700 2.625rem/1.3 "Wix Madefor Display", sans-serif;
}

.kriplkara__perex {
	font-size: 1.25rem;
	line-height: 1.7;
	font-weight: 500;
	color: #2A2A2A;
}

.kriplkara__text {
	font-size: 1rem;
	line-height: 1.8;
	color: #5A5A5A;
}

.kriplkara__button {
	align-items: center;
	background: #1A1A1A;
	border: 1px solid #1A1A1A;
	border-radius: 0 1.25rem;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: 700 1.125rem/1 "Wix Madefor Display", sans-serif;
	gap: 0 0.625rem;
	justify-content: center;
	min-height: 4.5rem;
	padding: 0.5rem 2.1875rem;
	text-align: center;
	transition: all 0.25s;
	align-self: flex-start;
}

.kriplkara__button:hover {
	background: #fff;
	border-color: #1A1A1A;
	color: #1A1A1A;
}

.kriplkara__button--arrow::after {
	background: url("../img/button-arrow.svg") no-repeat center center;
	background-size: contain;
	content: "";
	height: 0.875rem;
	margin-top: 0.125rem;
	transition: all 0.25s;
	width: 0.875rem;
	filter: invert(1);
}

.kriplkara__button--arrow:hover::after {
	animation: arrow 0.5s infinite;
	filter: none;
}

@media (max-width: 1499px) {
	.kriplkara__title {
		font-size: 2rem;
	}
	.kriplkara__perex {
		font-size: 1.125rem;
	}
	.kriplkara__button {
		font-size: 1rem;
		min-height: 3.5rem;
		padding: 0.5rem 1.5rem;
	}
}

@media (max-width: 991px) {
	.kriplkara__grid {
		gap: 2rem;
	}
	.kriplkara__image img {
		max-width: 400px;
	}
}

@media (max-width: 767px) {
	.kriplkara {
		padding-bottom: 4rem;
		padding-top: 4rem;
	}
	.kriplkara__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}
	.kriplkara__image {
		justify-content: center;
	}
	.kriplkara__image img {
		max-width: 320px;
	}
	.kriplkara__content {
		text-align: center;
		align-items: center;
	}
}

@media (max-width: 575px) {
	.kriplkara__image img {
		max-width: 260px;
	}
	.kriplkara__content {
		gap: 1rem;
	}
}

/* =========================
   Symbolika věnce – full page (shortcode)
   ========================= */

.venec-page {
	max-width: 900px;
	margin: 0 auto;
}

.venec-page__hero {
	text-align: center;
	margin-bottom: 3rem;
}

.venec-page__hero img {
	max-width: 480px;
	width: 100%;
	height: auto;
}

.venec-page__content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #404040;
}

.venec-page__content h2 {
	color: #5C3D1E;
	font: 700 2.25rem/1.3 "Wix Madefor Display", sans-serif;
	margin-bottom: 1.5rem;
}

.venec-page__content h3 {
	color: #5C3D1E;
	font: 700 1.5rem/1.3 "Wix Madefor Display", sans-serif;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.venec-page__content p {
	margin-bottom: 1rem;
}

.venec-page__lead {
	font-size: 1.25rem;
	font-weight: 500;
	color: #2F2F2F;
	margin-bottom: 2rem !important;
}

.venec-page__list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
}

.venec-page__list li {
	padding: 0.5rem 0 0.5rem 1.75rem;
	position: relative;
	line-height: 1.6;
}

.venec-page__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 0.5rem;
	height: 0.5rem;
	background: #5C3D1E;
	border-radius: 50%;
}

.venec-page__list li strong {
	color: #131D3A;
	font-weight: 700;
}

.venec-page__list--colors li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-left: 0;
}

.venec-page__list--colors li::before {
	display: none;
}

.venec-page__color {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.venec-page__color--red {
	background: #CF362E;
}

.venec-page__color--blue {
	background: #072851;
}

.venec-page__color--yellow {
	background: #FFD870;
}

@media (max-width: 767px) {
	.venec-page__hero img {
		max-width: 300px;
	}
	.venec-page__content {
		font-size: 1rem;
	}
	.venec-page__content h2 {
		font-size: 1.75rem;
	}
	.venec-page__content h3 {
		font-size: 1.25rem;
		margin-top: 2rem;
	}
	.venec-page__lead {
		font-size: 1.0625rem;
	}
}

/* =========================
   Page 781 – Festival Kriplkára candec (běžná page.php)
   ========================= */

body.page-id-781 #article-content {
	display: block; /* přebije flex+gap z _article.scss, ať fungují vertikální marginy */
	color: #2A2A2A;
	line-height: 1.6;
}

body.page-id-781 #article-content p {
	margin: 0 0 1.02rem;
	font-size: 1.0125rem; /* z 1.125rem o 10 % menší */
	line-height: 1.6;
}

body.page-id-781 #article-content h2 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1A1A1A;
	margin: 2.7rem 0 1.2rem;
}

body.page-id-781 #article-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1A1A1A;
	margin: 2.1rem 0 0.9rem;
}

body.page-id-781 #article-content h4 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1A1A1A;
	margin: 1.8rem 0 0.6rem;
}

/* pseudo-nadpisy: <p><strong>…</strong></p> nebo <p><strong>emoji</strong><strong> text</strong></p> */
body.page-id-781 #article-content p:has(> strong:only-child),
body.page-id-781 #article-content p:has(> strong:first-child + strong:nth-child(2):last-child) {
	font-size: 1.25rem;
	line-height: 1.4;
	color: #1A1A1A;
	margin: 2.1rem 0 0.48rem;
}

body.page-id-781 #article-content ul,
body.page-id-781 #article-content ol {
	margin: 1rem 0 1.2rem;
	padding-left: 1.6rem;
	font-size: 1.0125rem; /* sjednocené s odstavcem */
}

body.page-id-781 #article-content ul {
	list-style: disc;
}

body.page-id-781 #article-content ol {
	list-style: decimal;
}

body.page-id-781 #article-content li {
	margin-bottom: 0.42rem;
	line-height: 1.6;
	font-size: 1.0125rem;
}

body.page-id-781 #article-content li:last-child {
	margin-bottom: 0;
}

body.page-id-781 #article-content li > ul,
body.page-id-781 #article-content li > ol {
	margin: 0.42rem 0 0.42rem;
}

/* seznam těsně po pseudo-nadpisu – mezera, aby nebyl nalepený */
body.page-id-781 #article-content p:has(> strong:only-child) + ul,
body.page-id-781 #article-content p:has(> strong:only-child) + ol,
body.page-id-781 #article-content p:has(> strong:first-child + strong:nth-child(2):last-child) + ul,
body.page-id-781 #article-content p:has(> strong:first-child + strong:nth-child(2):last-child) + ol {
	margin-top: 1.25rem;
}

body.page-id-781 #article-content strong,
body.page-id-781 #article-content b {
	font-weight: 700;
}

body.page-id-781 #article-content a {
	color: inherit;
	text-decoration: underline;
}

body.page-id-781 #article-content a:hover {
	text-decoration: none;
}

body.page-id-781 #article-content > *:first-child {
	margin-top: 0;
}

body.page-id-781 #article-content > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	body.page-id-781 #article-content h2 {
		font-size: 1.625rem;
		margin: 2.4rem 0 1.2rem;
	}
	body.page-id-781 #article-content h3 {
		font-size: 1.25rem;
		margin: 2.1rem 0 0.9rem;
	}
	body.page-id-781 #article-content h4 {
		font-size: 1.125rem;
	}
	body.page-id-781 #article-content ul,
	body.page-id-781 #article-content ol {
		padding-left: 1.5rem;
	}
}

/* lišta sociálních ikonek (vkládá se přes the_content filter) */
body.page-id-781 #article-content ul.social-icons-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 1.25rem 0 1.5rem;
	padding: 0;
	font-size: inherit;
}

body.page-id-781 #article-content ul.social-icons-list .social-icons-list__item {
	margin: 0;
}

body.page-id-781 #article-content ul.social-icons-list .social-icons-list__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body.page-id-781 #article-content ul.social-icons-list .social-icons-list__link:hover {
	transform: translateY(-2px);
	opacity: 0.85;
	text-decoration: none;
}

body.page-id-781 #article-content ul.social-icons-list .social-icons-list__icon {
	width: 100%;
	height: 100%;
	display: block;
}

/* fotogalerie na konci článku (vkládá se přes the_content filter) */
body.page-id-781 #article-content .kriplkara-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
	margin-top: 2.5rem;
}

body.page-id-781 #article-content .kriplkara-gallery__item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 4px;
	cursor: zoom-in;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-id-781 #article-content .kriplkara-gallery__item:hover {
	transform: scale(1.02);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	text-decoration: none;
}

body.page-id-781 #article-content .kriplkara-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 767px) {
	body.page-id-781 #article-content .kriplkara-gallery {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 0.5rem;
	}
}

@media (max-width: 480px) {
	body.page-id-781 #article-content .kriplkara-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- Mobilní menu: přepínání hlavní menu <-> výběr slavností --- */
.header__slavnosti-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0.5rem auto 0;
	padding: 0.5rem 0.75rem;
	background: transparent;
	border: 0;
	color: #FFD870;
	font: 700 1.25rem/1 inherit;
	cursor: pointer;
}

.header__slavnosti-btn svg {
	flex: 0 0 auto;
}

.header__slavnosti-btn--back {
	color: #fff;
	opacity: 0.85;
	font-size: 1rem;
	margin: 0 auto 0.5rem;
}

@media (max-width: 991px) {
	.js-slavnosti-toggle .header__slavnosti-btn {
		display: inline-flex;
	}

	.js-slavnosti-toggle .header__nav--slavnosti {
		display: none;
	}

	.js-slavnosti-toggle.is-slavnosti-open .header__nav--main {
		display: none;
	}

	.js-slavnosti-toggle.is-slavnosti-open .header__nav--slavnosti {
		display: flex;
	}
}

/* --- Dlaždice termínů: po přidání "Noc literatury" (8 dlaždic) zmenšit vnitřní
   odsazení, ať se vejdou i na užších monitorech --- */
.intro__bottom-element {
	gap: 14px;
}

.intro__bottom-element .intro__button {
	padding-left: 1.375rem;
	padding-right: 1.375rem;
}

section#article-content img {
	max-width: 100%;
	height: auto;
}
