/* Robby Sieß Entertainment – everything theme.json can't express. */

html { scroll-behavior: smooth; }
a { text-decoration: none; }
:where(section[id]) { scroll-margin-top: 50px; }

/* ---------- Header / footer ---------- */
.rse-header { border-bottom: 1px solid var(--wp--preset--color--muted); }
.rse-header .rse-logo a { text-decoration: none; }
.rse-mainnav a { text-decoration: none; }
.rse-mainnav .wp-block-navigation-item__content:hover { color: rgb(255 255 255 / .7); }
.rse-mainnav .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.rse-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.25rem; }

.rse-footernav { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.rse-footernav a { color: rgb(255 255 255 / .7); text-decoration: none; }
.rse-footernav a:hover { color: #fff; }

/* ---------- Sections ---------- */
.rse-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: 0; }
.rse-section:last-child { padding-bottom: var(--wp--preset--spacing--60); }
.rse-section > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.rse-section h2 { margin-bottom: 0; }
.rse-page-head { padding-top: var(--wp--preset--spacing--50); }
.rse-page-head h1 { font-size: var(--wp--preset--font-size--huge); line-height: .8; }
.wp-block-columns { gap: 50px; }
.wp-block-columns + .wp-block-columns { margin-block-start: var(--wp--preset--spacing--50); }

/* ---------- Hero ---------- */
.rse-hero { text-align: center; padding-top: var(--wp--preset--spacing--50); }
.rse-hero > * + * { margin-block-start: 20px; }
.rse-hero h1 { line-height: .8; margin-block-start: 1.5rem; }
.rse-powerline { gap: 0; align-items: center; }
.rse-powerline .wp-block-image { margin: 0; flex: 0 1 320px; display: flex; align-items: center; }
.rse-powerline .wp-block-image img { width: 100% !important; }
.rse-tagline { font-size: var(--wp--preset--font-size--large); font-weight: 200; letter-spacing: 5px; white-space: nowrap; margin: 0 12px; }
.rse-hero .wp-block-image.aligncenter { margin-block-start: 0; }

video { background: #000; }

/* ---------- Hörprobe ---------- */
.rse-audio .wp-block-columns { align-items: center; }
.rse-audio .wp-block-image { margin-bottom: 0; }
.rse-audio audio { width: 100%; }

/* ---------- Cards ---------- */
.is-style-card { background: var(--wp--preset--color--surface); border-radius: 24px; overflow: hidden; }
.is-style-card > * { margin: 0; }
.is-style-card .wp-block-image img { display: block; width: 100%; }
.is-style-card > :not(.wp-block-image) { padding: 10px 20px; }
.is-style-card h3 { font-size: 3.4rem; }
.rse-sticky { position: sticky; top: 20px; }
.rse-about ul { padding-left: 1.2em; }

/* ---------- Videos ---------- */
/* WordPress writes the file's own ratio inline; the grid uses fixed player shapes like before. */
.rse-grid video { display: block; width: 100%; object-fit: contain; }
.rse-grid--2 video { aspect-ratio: 16 / 9 !important; }
.rse-grid--portrait video { aspect-ratio: 9 / 16 !important; object-fit: cover; }
.rse-grid figure { margin: 0; }

/* ---------- Gallery: masonry columns like the old Oxygen gallery ---------- */
.wp-block-gallery.rse-gallery { display: block; columns: 3 16rem; column-gap: 10px; }
.wp-block-gallery.rse-gallery figure.wp-block-image { width: 100% !important; margin: 0 0 10px; break-inside: avoid; }
.wp-block-gallery.rse-gallery figure.wp-block-image img { height: auto; }
.wp-block-gallery.rse-gallery figure.wp-block-image figcaption {
	font-size: .8rem; font-weight: 700; padding: 4px 8px; background: rgb(0 0 0 / .5); max-height: none; overflow: visible;
}

/* ---------- Kundenmeinungen slider ---------- */
.rse-slider { position: relative; }
.rse-slider__track {
	display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding: 0; margin: 0; list-style: none;
}
.rse-slider__track::-webkit-scrollbar { display: none; }
.rse-slider__track > li { flex: 0 0 calc((100% - 40px) / 2); scroll-snap-align: start; margin: 0; }
.rse-review__text p { margin: 0 0 1rem; }
.rse-review__name { margin-top: .5rem; font-weight: 400; line-height: 1.4; }
.rse-slider__btn {
	position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0;
	background: var(--wp--preset--color--surface); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.rse-slider__btn--prev { left: -48px; }
.rse-slider__btn--next { right: -48px; }
@media (max-width: 1200px) {
	.rse-slider { padding: 0 44px; }
	.rse-slider__btn--prev { left: 0; }
	.rse-slider__btn--next { right: 0; }
}
@media (max-width: 781px) {
	.rse-slider__track > li { flex-basis: 100%; }
}

/* ---------- "Bewertung schreiben" (Details block styled as a button) ---------- */
.rse-review-form { padding-top: var(--wp--preset--spacing--40); }
.wp-block-details.is-style-button > summary {
	display: inline-block; list-style: none; cursor: pointer;
	background: var(--wp--preset--color--accent); color: #fff; border-radius: 100px; padding: 18px 36px;
	font-family: var(--wp--preset--font-family--alegreya-sans); font-size: 18px; font-weight: 900; letter-spacing: 2px; line-height: 1.1;
}
.wp-block-details.is-style-button > summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-button > summary:hover { background: #fff; color: var(--wp--preset--color--base); }
.wp-block-details.is-style-button[open] { background: #fff; color: #222; border-radius: 24px; padding: 20px; max-width: 640px; }
.wp-block-details.is-style-button[open] > summary { margin-bottom: 1rem; }

/* ---------- Fluent Forms on dark background ---------- */
.rse-contact .ff-el-input--label label,
.rse-contact .ff-el-form-check-label { color: #fff; }
.fluentform .ff-btn-submit { background-color: var(--wp--preset--color--accent) !important; border-radius: 100px !important; }
.rse-social .wp-social-link { background: none !important; }
.rse-social .wp-block-social-link-anchor { padding: 0 !important; gap: 10px; }
.rse-social .wp-block-social-link-anchor svg { box-sizing: content-box; padding: 6px; border-radius: 50%; background: #c32aa3; color: #fff; }
.rse-social .wp-social-link-label { color: #fff; font-size: 1rem; }
.fluentform .ff-btn-submit { font-family: var(--wp--preset--font-family--alegreya-sans); font-size: 18px !important; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.rse-powerline .wp-block-image { flex-basis: 60px; }
	.rse-tagline { letter-spacing: 3px; }
	.rse-hero .wp-block-image.aligncenter { width: 100%; }
	.rse-hero .wp-block-image.aligncenter img { width: 100% !important; }
	.rse-sticky { position: static; }
	.rse-audio .wp-block-columns { flex-direction: column-reverse; }
}
