/*
Theme Name: Františkánský klášter Hájek
Theme URI: https://klasterhajek.cz/
Author: Stanislav Šec
Author URI: https://sec.stanislav.eu
Description: WordPress šablona pro Františkánský klášter v Hájku.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hajek
*/

:root {
	--cream: #f7f4ec;
	--cream-dark: #ece5d5;
	--paper: #fffdf8;
	--brown: #563822;
	--brown-dark: #35251b;
	--text: #332f2a;
	--muted: #756b61;
	--gold: #a67c3d;
	--gold-light: #c89b50;
	--line: #d8d0c1;
	--white: #fff;
	--shadow: 0 14px 34px rgba(53, 37, 27, .12);
	--serif: Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 110%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--cream);
	font-family: var(--serif);
	font-size: 1.0625rem;
	line-height: 1.65;
}

body.openMenu {
	overflow: hidden;
}

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

a {
	color: var(--brown);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

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

button,
input {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--brown-dark);
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.4rem, 4.5vw, 4.8rem);
}

h2 {
	font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.skip-link {
	position: fixed;
	z-index: 9999;
	top: 1rem;
	left: 1rem;
	padding: .7rem 1rem;
	color: var(--white);
	background: var(--brown-dark);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: relative;
	z-index: 1000;
	background: transparent;
}

.site-header__inner {
	display: flex;
	width: min(780px, calc(100% - 32px));
	min-height: 60px;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	margin-inline: auto;
	padding-inline: 14px;
	background: var(--paper);
	box-shadow: 0 4px 22px rgba(35, 24, 17, .1);
}

.site-brand {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	flex: 0 0 auto;
	gap: .5rem;
	color: var(--brown-dark);
	text-decoration: none;
}

.site-brand__name:hover {
	color: var(--brown-dark);
}

.site-brand__logo,
.site-brand__logo a {
	display: flex;
	align-items: center;
}

.site-brand__logo img {
	display: block;
	width: auto;
	max-width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-brand__name {
	max-width: 142px;
	color: var(--brown-dark);
	font-size: 1.05rem;
	line-height: 1.02;
	text-decoration: none;
}

.site-navigation {
	display: flex;
	min-width: 0;
	align-items: center;
	flex: 0 0 auto;
	gap: .3rem;
	font-family: var(--sans);
	font-size: .68rem;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: .1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu ul {
	list-style: none;
}

.primary-menu>li {
	position: relative;
}

.primary-menu>li>a {
	display: block;
	padding: .55rem .43rem;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu>li.current-menu-item>a,
.primary-menu>li.current_page_item>a,
.primary-menu>li>a:hover {
	color: var(--brown);
}

.primary-menu>li.current-menu-item::after,
.primary-menu>li.current_page_item::after {
	position: absolute;
	right: .43rem;
	bottom: .15rem;
	left: .43rem;
	height: 2px;
	background: var(--gold);
	content: "";
}

.primary-menu .sub-menu,
.primary-menu .children {
	position: absolute;
	z-index: 10;
	top: 100%;
	left: 0;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: .5rem;
	background: var(--paper);
	box-shadow: var(--shadow);
}

.primary-menu li:hover>.sub-menu,
.primary-menu li:focus-within>.sub-menu,
.primary-menu li:hover>.children,
.primary-menu li:focus-within>.children {
	display: block;
}

.primary-menu .sub-menu a,
.primary-menu .children a {
	display: block;
	padding: .65rem .8rem;
	color: var(--text);
	text-decoration: none;
}

.support-link,
.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: .72rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--sans);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.support-link {
	min-height: 37px;
	gap: .4rem;
	padding: .55rem .75rem;
	font-size: .68rem;
	white-space: nowrap;
}

.support-link,
.button--brown {
	color: var(--white);
	background: var(--brown);
}

.support-link:hover,
.button--brown:hover {
	color: var(--white);
	background: var(--brown-dark);
}

.button--gold {
	color: var(--white);
	background: var(--gold);
}

.button--gold:hover {
	color: var(--white);
	background: var(--brown);
}

.button:hover,
.support-link:hover {
	transform: translateY(-1px);
}

.search-toggle {
	display: inline-flex;
	width: 30px;
	height: 34px;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.search-toggle svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: var(--brown-dark);
	stroke-width: 2;
	stroke-linecap: round;
}

.header-search {
	display: flex;
	width: min(720px, calc(100% - 40px));
	align-items: flex-end;
	gap: .6rem;
	margin: 0 auto;
	padding: 1rem 0 1.25rem;
	font-family: var(--sans);
}

.header-search[hidden] {
	display: none;
}

.header-search label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.header-search input {
	min-width: 0;
	min-height: 44px;
	flex: 1;
	padding: .6rem .8rem;
	border: 1px solid var(--line);
	background: var(--white);
}

.header-search button {
	min-height: 44px;
	padding-inline: 1.1rem;
	border: 0;
	color: var(--white);
	background: var(--brown);
}

.mobile-menu-toggle,
.overlay {
	display: none;
}

.home-page {
	overflow: hidden;
	margin-top: -60px;
}

.home-hero {
	position: relative;
	min-height: min(720px, calc(100vh - 92px));
	display: flex;
	align-items: center;
	color: var(--white);
	background-image: linear-gradient(90deg, rgba(22, 16, 11, .82) 0%, rgba(22, 16, 11, .48) 38%, rgba(22, 16, 11, .08) 70%), var(--hero-image);
	background-position: center;
	background-size: cover;
}

.home-hero__inner {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
	padding-block: clamp(5rem, 12vw, 10rem);
}

.home-hero__eyebrow {
	margin: 0 0 1.1rem;
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.home-hero h1 {
	max-width: 720px;
	margin-bottom: .7rem;
	color: var(--white);
	font-size: clamp(3rem, 6.5vw, 6.1rem);
	letter-spacing: -.025em;
	text-shadow: 0 3px 22px rgba(0, 0, 0, .25);
}

.home-hero__subtitle {
	margin: 0;
	font-size: clamp(1.35rem, 2.7vw, 2.15rem);
}

.section-mark {
	display: block;
	width: 56px;
	height: 3px;
	margin: 1.35rem 0;
	background: var(--gold-light);
}

.home-hero__text {
	max-width: 520px;
	margin: 0 0 1.7rem;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	line-height: 1.55;
}

.home-section {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
	padding-block: clamp(4rem, 7vw, 7rem);
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading .section-mark {
	margin-bottom: 0;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.news-card__image {
	display: block;
	overflow: hidden;
}

.news-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

.news-card:hover img {
	transform: scale(1.025);
}

.news-card h3 {
	margin-bottom: .35rem;
	font-size: 1.3rem;
}

.news-card h3 a {
	color: var(--brown-dark);
	text-decoration: none;
}

.news-card time {
	display: block;
	margin: 0 0 .55rem;
	color: var(--gold);
	font-family: var(--sans);
	font-size: .78rem;
}

.news-card>p:last-child {
	margin-bottom: 0;
	color: var(--muted);
	font-size: .95rem;
	line-height: 1.55;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 2rem;
	border: 1px solid var(--line);
	background: var(--paper);
}

.home-discover {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
	background: var(--paper);
}

.home-discover__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 510px;
	object-fit: cover;
}

.home-discover__content {
	align-self: center;
	max-width: 650px;
	padding: clamp(3rem, 7vw, 7rem);
}

.home-discover__content h2 {
	margin-bottom: 0;
}

.home-discover__content p {
	margin-bottom: 1.8rem;
}

.home-news {
	padding-top: clamp(4rem, 6vw, 6rem);
}

.news-card__image {
	margin-bottom: 1rem;
	aspect-ratio: 16 / 7;
}

.news-card time {
	color: var(--muted);
}

.news-card h3 {
	margin-bottom: .45rem;
}

.site-footer {
	background: var(--paper);
}

.site-footer__inner {
	display: grid;
	width: min(1180px, calc(100% - 40px));
	grid-template-columns: minmax(250px, 1.2fr) 2fr minmax(180px, .7fr);
	align-items: center;
	gap: 2rem;
	margin-inline: auto;
	padding-block: 2.6rem;
}

.site-brand--footer .site-brand__name {
	font-size: 1.45rem;
}

.footer-menu {
	justify-content: center;
	gap: 1.25rem;
	font-family: var(--sans);
	font-size: .82rem;
}

.footer-menu a {
	color: var(--text);
	text-decoration: none;
}

.site-footer__motto {
	margin: 0;
	padding-left: 2rem;
	border-left: 1px solid var(--gold);
	font-size: .95rem;
	line-height: 1.45;
}

.site-footer__legal {
	padding: .75rem 20px;
	color: var(--muted);
	background: var(--cream);
	font-family: var(--sans);
	font-size: .75rem;
	text-align: center;
}

.site-footer__legal p {
	margin: 0;
}

/* Vnitřní stránky */
.container {
	width: min(1280px, 100%);
	margin-inline: auto;
}

.columns {
	display: flex;
	align-items: stretch;
}

.content-column {
	min-width: 0;
	flex: 1;
	padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
}

.content-column>* {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.content-column>h2,
.content-column>h3,
.singleArticle>h3 {
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--gold);
}

.left-sidebar,
.right-sidebar {
	width: min(290px, 24vw);
	flex: 0 0 min(290px, 24vw);
	padding: 3rem 2rem;
	background: var(--cream-dark);
}

.widget {
	margin-bottom: 2rem;
}

.widget-title,
.widget .wp-block-heading {
	font-size: 1.25rem;
}

.postPreview {
	margin-bottom: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--line);
}

.postPreview__row {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.postPreview__image {
	flex: 0 0 40%;
}

.postPreview__image img {
	display: block;
	width: 100%;
}

.postPreview__content {
	min-width: 0;
	flex: 1;
}

.content-column .button {
	color: var(--white);
	background: var(--brown);
}

.pagination {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
}

.galleryArchive {
	display: grid;
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.galleryArchive__item {
	overflow: hidden;
	background: var(--paper);
	box-shadow: 0 5px 24px rgba(53, 37, 27, .08);
}

.galleryArchive__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.galleryArchive__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.galleryArchive__content {
	padding: 1.2rem;
}

.galleryArchive__content h2 {
	font-size: 1.2rem;
}

.singleArticle__thumbnail {
	float: left;
	width: min(36%, 360px);
	margin: 0 2rem 1rem 0;
}

.singleArticle::after {
	display: table;
	clear: both;
	content: "";
}

.singleArticle--gallery .wp-block-gallery.has-nested-images,
.singleArticle--gallery .blocks-gallery-grid,
.singleArticle--gallery .gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.singleArticle--gallery .wp-block-gallery.has-nested-images figure.wp-block-image,
.singleArticle--gallery .blocks-gallery-item,
.singleArticle--gallery .gallery-item {
	width: auto !important;
	margin: 0 !important;
}

.wp-block-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-block: 1.5rem;
	padding: 1rem 1.2rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--gold);
	background: var(--paper);
}

.wp-block-file .wp-block-file__button {
	margin-left: 0;
	color: var(--white);
	background: var(--brown);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 3px;
}

@media (max-width: 960px) {
	.site-header {
		background: rgba(255, 253, 248, .97);
		box-shadow: 0 2px 18px rgba(53, 37, 27, .08);
	}

	.site-header__inner {
		width: 100%;
		min-height: 76px;
		padding-inline: 20px;
		box-shadow: none;
	}

	.site-brand__logo img {
		height: 52px;
	}

	.site-brand__name {
		max-width: 260px;
		font-size: clamp(1.35rem, 2vw, 1.8rem);
		line-height: 1.05;
	}

	.mobile-menu-toggle {
		display: flex;
		width: 48px;
		height: 48px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.mobile-menu-toggle__line {
		width: 25px;
		height: 2px;
		background: var(--brown-dark);
		transition: transform 160ms ease, opacity 160ms ease;
	}

	.openMenu .mobile-menu-toggle__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.openMenu .mobile-menu-toggle__line:nth-child(2) {
		opacity: 0;
	}

	.openMenu .mobile-menu-toggle__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.site-navigation {
		position: fixed;
		z-index: 1001;
		top: 0;
		right: 0;
		bottom: 0;
		display: none;
		width: min(390px, 88vw);
		align-items: stretch;
		flex-direction: column;
		padding: 5.5rem 2rem 2rem;
		background: var(--paper);
		box-shadow: -10px 0 30px rgba(53, 37, 27, .18);
	}

	.openMenu .site-navigation {
		display: flex;
	}

	.openMenu .mobile-menu-toggle {
		position: fixed;
		z-index: 1002;
		top: 14px;
		right: 20px;
	}

	.openMenu .overlay {
		position: fixed;
		z-index: 999;
		inset: 0;
		display: block;
		background: rgba(25, 17, 12, .55);
	}

	.nav-menu {
		align-items: stretch;
		flex-direction: column;
	}

	.primary-menu>li>a {
		padding: .8rem 0;
		border-bottom: 1px solid var(--line);
		font-family: var(--serif);
		font-size: 1.4rem;
		white-space: normal;
	}

	.primary-menu>li.current-menu-item::after,
	.primary-menu>li.current_page_item::after {
		display: none;
	}

	.primary-menu .sub-menu,
	.primary-menu .children {
		position: static;
		display: block;
		box-shadow: none;
	}

	.support-link {
		min-height: 46px;
		gap: .75rem;
		margin-top: 1rem;
		padding: .72rem 1.25rem;
		font-size: .9rem;
		white-space: normal;
	}

	.search-toggle {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		align-self: center;
	}

	.home-hero {
		min-height: 650px;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-news .news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-discover {
		grid-template-columns: 1fr;
	}

	.home-discover__image img {
		min-height: 430px;
	}

	.home-discover__content {
		max-width: 760px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.footer-nav {
		grid-row: 2;
		grid-column: 1 / -1;
	}

	.left-sidebar,
	.right-sidebar {
		display: none;
	}
}

@media (max-width: 680px) {

	.site-header__inner,
	.home-hero__inner,
	.home-section,
	.site-support__inner,
	.site-footer__inner {
		width: min(100% - 28px, 1180px);
	}

	.site-header__inner {
		width: 100%;
	}

	.site-brand__name {
		max-width: 210px;
		font-size: 1.2rem;
	}

	.site-brand__logo img {
		max-width: 56px;
		height: 46px;
	}

	.home-hero {
		min-height: 620px;
		background-image: linear-gradient(90deg, rgba(22, 16, 11, .82), rgba(22, 16, 11, .28)), var(--hero-image);
		background-position: 61% center;
	}

	.home-hero__eyebrow {
		display: none;
	}

	.home-hero h1 {
		font-size: clamp(2.75rem, 15vw, 4.2rem);
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: .8rem;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.home-news .news-grid {
		grid-template-columns: 1fr;
	}

	.home-discover__image img {
		min-height: 330px;
	}

	.home-discover__content {
		padding: 3rem 1.4rem 4rem;
	}

	.site-support__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 1.5rem;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.site-brand--footer {
		justify-content: center;
	}

	.footer-nav {
		grid-row: auto;
		grid-column: auto;
	}

	.footer-menu {
		flex-wrap: wrap;
		flex-direction: row;
	}

	.site-footer__motto {
		padding: 1.2rem 0 0;
		border-top: 1px solid var(--gold);
		border-left: 0;
	}

	.postPreview__row {
		flex-direction: column;
	}

	.postPreview__image {
		width: 100%;
		flex-basis: auto;
	}

	.galleryArchive,
	.singleArticle--gallery .wp-block-gallery.has-nested-images,
	.singleArticle--gallery .blocks-gallery-grid,
	.singleArticle--gallery .gallery {
		grid-template-columns: 1fr;
	}

	.singleArticle__thumbnail {
		float: none;
		width: 100%;
		margin: 0 0 1.5rem;
	}

	.wp-block-file {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Úvodní stránka podle vizuálního konceptu v3 */
body.home .home-hero {
	min-height: clamp(445px, 43.5vw, 680px);
	padding-top: 60px;
}

body.home .home-hero__inner {
	width: min(1180px, calc(100% - 48px));
	padding: 3rem 0 1.2rem;
}

body.home .home-hero__eyebrow {
	margin-bottom: .8rem;
	font-size: .68rem;
	letter-spacing: .14em;
}

body.home .home-hero h1 {
	max-width: 620px;
	margin-bottom: .55rem;
	font-size: clamp(3rem, 5.7vw, 5.3rem);
	line-height: 1.02;
}

body.home .home-hero__subtitle {
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}

body.home .home-hero .section-mark {
	width: 46px;
	margin: .9rem 0;
}

body.home .home-hero__text {
	max-width: 440px;
	margin-bottom: 1rem;
	font-size: .95rem;
}

body.home .home-hero .button {
	min-height: 40px;
	padding: .65rem 1.1rem;
	font-size: .78rem;
}

.daily-word-band {
	background: #f0ece3;
	border-block: 1px solid #ddd4c5;
}

.daily-word-band__inner {
	display: grid;
	width: min(1024px, 100%);
	min-height: 62px;
	grid-template-columns: minmax(0, 1fr) 56px 1px 180px;
	align-items: center;
	gap: 16px;
	margin-inline: auto;
	padding-inline: clamp(24px, 8.6vw, 88px);
}

.daily-word__widget {
	min-width: 0;
	font-size: .82rem;
	line-height: 1.35;
}

.daily-word__widget .widget {
	margin: 0;
}

.daily-word__bible {
	display: block;
	width: 56px;
	height: 42px;
}

.daily-word-band__divider {
	width: 1px;
	height: 38px;
	background: #d0c4b1;
}

.daily-word__youtube {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	color: var(--brown-dark);
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 700;
	text-decoration-color: var(--gold);
	text-underline-offset: .4em;
	white-space: nowrap;
}

.daily-word__youtube:hover {
	color: var(--gold);
}

.daily-word__youtube svg {
	display: block;
	width: 34px;
	height: 24px;
	flex: 0 0 34px;
	color: #c4302b;
}

.home-regular-program {
	grid-template-columns: 1fr 1fr;
	height: 255px;
	min-height: 0;
}

.home-regular-program .home-discover__image {
	min-width: 0;
	height: 255px;
	min-height: 0;
	overflow: hidden;
}

.home-regular-program .home-discover__image img {
	height: 100%;
	min-height: 0;
	object-fit: cover;
	object-position: center;
}

.home-regular-program .home-discover__content {
	position: relative;
	max-width: none;
	padding: 1.25rem 1.75rem;
	overflow: hidden;
}

.home-regular-program .home-discover__content h2 {
	font-size: 1.8rem;
}

.home-regular-program .section-mark {
	width: 48px;
	margin: .65rem 0;
}

.home-regular-program .home-discover__content p {
	max-width: 410px;
	margin-bottom: .85rem;
	font-size: .85rem;
	line-height: 1.35;
}

.home-regular-program .button {
	min-height: 42px;
	padding: .68rem 1.1rem;
	font-size: .76rem;
}

.home-regular-program__ornament {
	position: absolute;
	right: .8rem;
	bottom: .8rem;
	width: clamp(120px, 15vw, 175px);
	height: auto;
	fill: none;
	stroke: #b6a486;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .24;
	pointer-events: none;
}

body.home .home-news {
	width: min(1180px, calc(100% - clamp(48px, 17.2vw, 240px)));
	padding-block: clamp(2.25rem, 4.2vw, 3.25rem);
}

body.home .home-news .section-heading {
	margin-bottom: 1.4rem;
}

body.home .home-news .section-heading h2 {
	font-size: clamp(2rem, 3.2vw, 2.45rem);
}

body.home .home-news .section-heading .section-mark {
	margin: .75rem 0 0;
}

body.home .news-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 1.25rem;
	row-gap: 2rem;
}

body.home .news-card__image {
	margin-bottom: .45rem;
	aspect-ratio: 2.8 / 1;
}

body.home .news-card__category {
	margin: 0 0 .2rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: .66rem;
}

body.home .news-card h3 {
	margin-bottom: .3rem;
	font-size: 1.05rem;
}

body.home .news-card>p:last-child {
	margin-bottom: 0;
	color: var(--muted);
	font-size: .78rem;
	line-height: 1.45;
}

.site-support {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background-color: var(--brown);
	background-image: linear-gradient(90deg, rgba(53, 37, 27, 0) 0%, rgba(53, 37, 27, 0) 32%, rgba(53, 37, 27, .98) 43%, rgba(86, 56, 34, .96) 100%), url("assets/images/home/hajek-pomozte.jpg");
	background-repeat: no-repeat;
	background-position: center, left center;
	background-size: 100% 100%, auto 100%;
}

.site-support__inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	min-height: 152px;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-inline: auto;
	padding: 1.5rem max(24px, calc((100vw - 1180px) / 2)) 1.5rem 38%;
	text-align: left;
}

.site-support__inner > div {
	min-width: 0;
	flex: 1 1 auto;
}

.site-support h2 {
	margin-bottom: 0;
	color: var(--white);
	font-size: 1.4rem;
}

.site-support .section-mark {
	width: 46px;
	margin: .65rem 0;
}

.site-support p {
	max-width: 670px;
	margin-bottom: 0;
	font-size: .72rem;
	line-height: 1.4;
}

.site-support .button {
	flex: 0 0 auto;
	align-self: flex-end;
	min-height: 40px;
	padding: .65rem .9rem;
	font-size: .68rem;
}

.site-support__ornament {
	position: absolute;
	right: .4rem;
	bottom: .2rem;
	width: 112px;
	height: 145px;
	fill: none;
	stroke: #b6a486;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .32;
	pointer-events: none;
}

@media (max-width: 960px) {
	body.home .home-hero {
		min-height: 540px;
		padding-top: 0;
	}

	.home-page {
		margin-top: 0;
	}

	body.home .home-hero__inner {
		padding-top: 3rem;
	}

	.daily-word-band__inner {
		grid-template-columns: minmax(0, 1fr) 48px 1px 166px;
		gap: 12px;
		padding-inline: 24px;
	}

	.home-regular-program {
		grid-template-columns: 1fr 1fr;
		height: 220px;
		min-height: 0;
	}

	.home-regular-program .home-discover__content {
		padding-block: .9rem;
	}

	.home-regular-program .home-discover__image {
		height: 220px;
		min-height: 0;
	}

	.home-regular-program .home-discover__image img {
		height: 100%;
		min-height: 0;
	}

	.site-support__inner {
		width: calc(100% - 48px);
		padding-left: 34%;
		gap: 1rem;
	}
}

@media (max-width: 680px) {
	body.home .home-hero {
		min-height: 590px;
		background-position: 61% center;
	}

	body.home .home-hero__inner {
		width: calc(100% - 40px);
	}

	body.home .home-hero__eyebrow {
		display: block;
		font-size: .58rem;
	}

	body.home .home-hero h1 {
		font-size: clamp(2.7rem, 13vw, 4.2rem);
	}

	.daily-word-band__inner {
		grid-template-columns: minmax(0, 1fr) 48px;
		gap: .5rem 1rem;
		padding: .8rem 1.25rem;
	}

	.daily-word__widget {
		grid-column: 1;
	}

	.daily-word__bible {
		grid-column: 2;
		grid-row: 1;
		width: 46px;
		height: 36px;
	}

	.daily-word-band__divider {
		display: none;
	}

	.daily-word__youtube {
		grid-column: 1 / -1;
		justify-self: end;
		font-size: .78rem;
	}

	.home-regular-program {
		grid-template-columns: 1fr;
		height: auto;
	}

	.home-regular-program .home-discover__image,
	.home-regular-program .home-discover__image img {
		height: 190px;
		min-height: 0;
		max-height: none;
	}

	.home-regular-program .home-discover__content {
		padding: 1.25rem 1.5rem;
	}

	.home-regular-program__ornament {
		right: .25rem;
		bottom: .25rem;
		width: 120px;
	}

	body.home .home-news {
		width: calc(100% - 40px);
	}

	body.home .home-news .news-grid {
		gap: 1.75rem;
	}

	body.home .news-card__image {
		aspect-ratio: 16 / 8;
	}

	.site-support {
		background-image: linear-gradient(180deg, rgba(53, 37, 27, 0) 0, rgba(53, 37, 27, .06) 220px, #35251b 270px), url("assets/images/home/hajek-pomozte.jpg");
		background-position: center, top center;
		background-size: 100% 100%, auto 250px;
	}

	.site-support__inner {
		width: calc(100% - 40px);
		min-height: 0;
		align-items: flex-start;
		flex-direction: column;
		gap: 1.25rem;
		padding: 275px 0 2rem;
	}

	.site-support__ornament {
		display: none;
	}
}