/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* Beitragsbild als schmales Band auf Foto-Archiv-Seiten */
.page-template-page-foto-archiv-php .page-header-image {
	max-height: 180px;
	overflow: hidden;
}

.page-template-page-foto-archiv-php .page-header-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* FooGallery lightbox background */
.fg-panel-maximized {
	background-color: #2a2a2a !important;
}

/* -------------------------------------------------------------------------
   Fotografie Landing Page
------------------------------------------------------------------------- */

.fp-landing {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.fp-landing__title {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.fp-landing__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 700px) {
	.fp-landing__grid {
		grid-template-columns: 1fr;
	}
}

.fp-landing__card {
	display: block;
	text-decoration: none;
	border-radius: 6px;
	overflow: hidden;
	background: #111;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	transition: transform .2s, box-shadow .2s;
}

.fp-landing__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.fp-landing__image {
	height: 280px;
	background-size: cover;
	background-position: center;
	transition: opacity .2s;
}

.fp-landing__image--empty {
	background-color: #333;
}

.fp-landing__card:hover .fp-landing__image {
	opacity: .85;
}

.fp-landing__label {
	padding: 1rem 1.25rem;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #f0f0f0;
}

/* -------------------------------------------------------------------------
   Homepage: fullscreen hero
------------------------------------------------------------------------- */

.page-template-page-homepage-php .site-footer {
	display: none;
}

.hp-hero {
	position: relative;
	width: 100%;
	height: calc(100vh - 60px); /* Fallback, wird per JS überschrieben */
	background-size: cover;
	background-position: center;
	background-color: #111;
	overflow: hidden;
}

.hp-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hp-hero__nav {
	display: flex;
	gap: 4rem;
}

.hp-hero__link {
	text-decoration: none;
	text-align: center;
	padding: 1.5rem 2.5rem;
	border: 2px solid rgba(255,255,255,.6);
	border-radius: 4px;
	transition: border-color .2s, background .2s;
}

.hp-hero__link:hover {
	border-color: #fff;
	background: rgba(255,255,255,.1);
}

.hp-hero__label {
	display: block;
	font-size: 1.4rem;
	font-weight: 300;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #fff;
}

@media (max-width: 600px) {
	.hp-hero__nav {
		flex-direction: column;
		gap: 1.5rem;
	}
}

.hp-intro {
	background: #111;
	padding: 3rem 1.5rem;
	text-align: left;
}

.hp-intro__text {
	max-width: 680px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #bbb;
}

.hp-intro__text strong {
	color: #fff;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   Archive: Fotografie
------------------------------------------------------------------------- */

.fp-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.fp-archive__title {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.fp-archive__empty {
	color: #888;
	font-style: italic;
}

/* -------------------------------------------------------------------------
   Filter form
------------------------------------------------------------------------- */

.fp-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 2.5rem;
	padding: 1.25rem 1.5rem;
	background: #f5f5f5;
	border-radius: 6px;
}

.fp-filter-group {
	display: flex;
	flex-direction: column;
	gap: .3rem;
}

.fp-filter-group label {
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #555;
}

.fp-filter-group select {
	padding: .45rem .75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: .95rem;
	background: #fff;
	min-width: 160px;
	cursor: pointer;
}

.fp-filter-form button {
	padding: .5rem 1.25rem;
	background: #222;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: .95rem;
	cursor: pointer;
	transition: background .15s;
}

.fp-filter-form button:hover {
	background: #444;
}

.fp-filter-reset {
	font-size: .85rem;
	color: #888;
	text-decoration: none;
	align-self: center;
	transition: color .15s;
}

.fp-filter-reset:hover {
	color: #222;
}

/* -------------------------------------------------------------------------
   Gallery grid
------------------------------------------------------------------------- */

.fp-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.fp-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.fp-gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Gallery card
------------------------------------------------------------------------- */

.fp-gallery-card {
	border-radius: 6px;
	overflow: hidden;
	background: #111;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	transition: transform .2s, box-shadow .2s;
}

.fp-gallery-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.fp-gallery-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.fp-gallery-card__image {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: opacity .2s;
}

.fp-gallery-card:hover .fp-gallery-card__image {
	opacity: .85;
}

.fp-gallery-card__meta {
	padding: .85rem 1rem;
	background: #111;
}

.fp-gallery-card__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 .25rem;
	color: #f0f0f0;
	line-height: 1.3;
}

.fp-gallery-card__info {
	font-size: .8rem;
	color: #999;
	margin: 0;
}

/* Footer-Menü */
.footer-nav {
	text-align: center;
	padding: .75rem 1rem;
	border-top: 1px solid rgba(255,255,255,.1);
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.footer-nav a {
	font-size: .85rem;
	color: #999;
	text-decoration: none;
}

.footer-nav a:hover {
	color: #fff;
}

/* FooGallery: Thumbnailleiste im Fullscreen ausblenden */
.fg-panel-fullscreen .fg-panel-thumbs {
	display: none !important;
}
