/* ==========================================================================
   TF Birkenhard — "Wimbledon" reskin
   Blue (brand) + white. Clean, modern, single-hue palette.
   ========================================================================== */

:root {
	--tfb-blue: #0e5898;
	--tfb-blue-dark: #0a3f70;
	--tfb-blue-darker: #072c4e;
	--tfb-accent: #0a3f70;
	--tfb-accent-dark: #072c4e;
	--tfb-accent-light: #e8f0fb;
	--tfb-ink: #1f2430;
	--tfb-muted: #5c6470;
	--tfb-line: #e6e9ee;
	--tfb-bg: #ffffff;
	--tfb-bg-soft: #f6f8fa;
	--tfb-white: #ffffff;
	--tfb-serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tfb-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tfb-max: 1200px;
	--tfb-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
	--tfb-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
}

/* ---------- Reset / base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--tfb-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--tfb-ink);
	background: var(--tfb-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--tfb-blue);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--tfb-blue-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tfb-serif);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--tfb-ink);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.1em;
}

/* ---------- Layout wrapper ---------- */

.tfb-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.tfb-main {
	flex: 1 1 auto;
	width: 100%;
}

.tfb-content {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 56px 24px;
}

/* ---------- Top logo bar ---------- */

.tfb-logo-bar {
	background: var(--tfb-white);
	border-bottom: 1px solid var(--tfb-line);
}

.tfb-logo-bar__row {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.tfb-logo img {
	height: 64px;
	width: auto;
}

.tfb-ebusy {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tfb-ebusy img {
	height: 44px;
	width: auto;
	border-radius: 4px;
}

.tfb-ebusy a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.tfb-ebusy span {
	font-size: 12px;
	line-height: 1.1;
	color: var(--tfb-muted);
	font-weight: 600;
}

/* ---------- Header / nav ---------- */

.tfb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--tfb-white);
	border-bottom: 1px solid var(--tfb-line);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.tfb-nav {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 0 24px;
}

.tfb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.tfb-menu li {
	position: relative;
}

.tfb-menu > li > a {
	display: block;
	padding: 10px 18px;
	margin: 4px 2px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.01em;
	color: var(--tfb-ink);
	position: relative;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.tfb-menu > li > a:hover,
.tfb-menu .current-menu-item > a,
.tfb-menu .current_page_item > a {
	color: var(--tfb-white);
	background: var(--tfb-blue);
}

/* Sub-menus */
.tfb-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 10px;
	box-shadow: var(--tfb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 200;
}

.tfb-menu li:hover > .sub-menu,
.tfb-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tfb-menu .sub-menu li a {
	display: block;
	padding: 10px 16px;
	font-size: 14.5px;
	color: var(--tfb-ink);
	border-radius: 6px;
	transition: background 0.2s ease, color 0.2s ease;
}

.tfb-menu .sub-menu li a:hover,
.tfb-menu .sub-menu .current-menu-item > a {
	background: var(--tfb-blue);
	color: var(--tfb-white);
}

/* nested sub-menus open to the right */
.tfb-menu .sub-menu .sub-menu {
	top: -9px;
	left: 100%;
}

/* Burger */
.tfb-burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 14px 16px;
}

.tfb-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--tfb-ink);
	margin: 5px 0;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.tfb-burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.tfb-burger.is-open span:nth-child(2) {
	opacity: 0;
}
.tfb-burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (full-bleed) ---------- */

.tfb-slider {
	position: relative;
	width: 100%;
	height: 55vh;
	min-height: 340px;
	max-height: 560px;
	overflow: hidden;
	background: var(--tfb-blue-darker);
}

.tfb-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.1s ease;
}

.tfb-slide.is-active {
	opacity: 1;
}

.tfb-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 44, 78, 0.35) 0%, rgba(7, 44, 78, 0.15) 40%, rgba(7, 44, 78, 0.65) 100%);
	display: flex;
	align-items: flex-end;
}

.tfb-slider__caption {
	max-width: var(--tfb-max);
	margin: 0 auto;
	width: 100%;
	padding: 0 24px 64px;
	color: var(--tfb-white);
}

.tfb-slider__kicker {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tfb-white);
	background: var(--tfb-accent);
	padding: 6px 14px;
	border-radius: 2px;
	margin-bottom: 18px;
}

.tfb-slider__title {
	font-family: var(--tfb-serif);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.08;
	color: var(--tfb-white);
	margin: 0 0 18px;
	max-width: 16ch;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.tfb-slider__text {
	font-size: clamp(16px, 2vw, 20px);
	max-width: 52ch;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 26px;
}

.tfb-btn {
	display: inline-block;
	background: var(--tfb-accent);
	color: var(--tfb-white);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	padding: 14px 30px;
	border-radius: 3px;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.tfb-btn:hover {
	background: var(--tfb-accent-dark);
	color: var(--tfb-white);
	transform: translateY(-2px);
}

.tfb-btn--blue {
	background: var(--tfb-blue);
}

.tfb-btn--blue:hover {
	background: var(--tfb-blue-dark);
}

.tfb-btn--ghost {
	background: transparent;
	border: 2px solid var(--tfb-white);
}

.tfb-btn--ghost:hover {
	background: var(--tfb-white);
	color: var(--tfb-blue);
}

/* ---------- Intro (front page) ---------- */

.tfb-intro {
	max-width: 760px;
	margin: 0 auto 56px;
	text-align: center;
}

.tfb-intro h1,
.tfb-intro h2 {
	font-size: clamp(28px, 4vw, 40px);
}

.tfb-intro p {
	font-size: 18px;
	color: var(--tfb-muted);
}

/* Section heading with accent rule */
.tfb-section-head {
	text-align: center;
	margin: 0 0 40px;
}

.tfb-section-head h2 {
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 12px;
}

.tfb-section-head .tfb-rule {
	width: 64px;
	height: 3px;
	background: var(--tfb-accent);
	margin: 0 auto;
	border-radius: 2px;
}

/* ---------- News cards ---------- */

.tfb-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.tfb-card {
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--tfb-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
}

.tfb-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tfb-shadow);
}

.tfb-card__thumb {
	position: relative;
	height: 160px;
	overflow: hidden;
	background: var(--tfb-bg-soft);
}

.tfb-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.3s ease;
}

.tfb-card:hover .tfb-card__thumb img {
	transform: scale(1.05);
}

.tfb-card__body {
	padding: 16px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.tfb-card__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.3;
}

.tfb-card__title a {
	color: var(--tfb-ink);
}

.tfb-card__title a:hover {
	color: var(--tfb-blue);
}

.tfb-card__excerpt {
	color: var(--tfb-muted);
	font-size: 14px;
	flex: 1 1 auto;
	margin-bottom: 14px;
	line-height: 1.55;
}

.tfb-readmore {
	margin: 0;
}

.tfb-readmore .tfb-btn {
	padding: 8px 18px;
	font-size: 13px;
	background: var(--tfb-blue);
}

.tfb-readmore .tfb-btn:hover {
	background: var(--tfb-blue-dark);
}

/* ---------- News cards: list/archive variant ---------- */

.tfb-cards--list {
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.tfb-card--list {
	align-self: start;
}

.tfb-card--list .tfb-card__thumb {
	height: 120px;
	background: var(--tfb-bg-soft);
}

.tfb-card--list .tfb-card__thumb img {
	object-fit: contain;
	object-position: center;
}

.tfb-card--list .tfb-card__body {
	padding: 10px 14px 14px !important;
	flex: none !important;
}

.tfb-card--list .tfb-card__title {
	font-size: 15px;
	margin-bottom: 4px;
}

.tfb-card--list .tfb-card__excerpt {
	font-size: 12.5px;
	margin-bottom: 8px;
	flex: none;
}

.tfb-card--list .tfb-readmore .tfb-btn {
	padding: 5px 12px;
	font-size: 11.5px;
}

/* ---------- Article / page ---------- */

.tfb-article {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 24px;
}

.tfb-page-title {
	font-size: clamp(30px, 5vw, 46px);
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 3px solid var(--tfb-accent);
	display: inline-block;
}

.tfb-meta {
	color: var(--tfb-muted);
	font-size: 14.5px;
	margin-bottom: 30px;
}

.tfb-meta a {
	color: var(--tfb-blue);
}

.tfb-entry {
	font-size: 17px;
	line-height: 1.7;
}

/* Override Joomla inline styles for consistent typography */
.tfb-entry [style] {
	font-family: var(--tfb-sans) !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.tfb-entry a {
	color: var(--tfb-blue) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tfb-entry a:hover {
	color: var(--tfb-blue-dark) !important;
}

.tfb-entry img {
	border-radius: 6px;
	margin: 18px 0;
}

.tfb-entry h1,
.tfb-entry h2,
.tfb-entry h3,
.tfb-entry h4,
.tfb-entry h5,
.tfb-entry h6 {
	font-family: var(--tfb-serif);
	font-weight: 700;
	color: var(--tfb-ink);
	line-height: 1.2;
}

.tfb-entry h2 {
	font-size: 28px;
	margin-top: 1.6em;
}

.tfb-entry h3 {
	font-size: 22px;
	margin-top: 1.4em;
}

.tfb-entry h4 {
	font-size: 19px;
	margin-top: 1.3em;
}

.tfb-entry strong,
.tfb-entry b {
	font-weight: 600;
}

.tfb-entry ul,
.tfb-entry ol {
	padding-left: 1.4em;
}

.tfb-entry blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--tfb-accent);
	background: var(--tfb-bg-soft);
	font-style: italic;
	color: var(--tfb-muted);
}

.tfb-entry p {
	margin: 0 0 1.1em;
}

/* ---------- Archive header ---------- */

.tfb-archive-header {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 56px 24px 0;
}

.tfb-archive-header .tfb-page-title {
	border-bottom-color: var(--tfb-accent);
	font-size: 17px;
	margin-bottom: 12px;
	padding-bottom: 10px;
}

.tfb-archive-desc {
	color: var(--tfb-muted);
	max-width: 700px;
	margin-top: 14px;
}

.tfb-cards--archive {
	max-width: var(--tf-max, var(--tfb-max));
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 40px 24px 56px;
}

/* Pagination */
.pagination,
.nav-links {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 0 24px 56px;
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.nav-links .page-numbers {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--tfb-line);
	border-radius: 4px;
	color: var(--tfb-ink);
	font-weight: 600;
	font-size: 15px;
}

.nav-links .page-numbers.current {
	background: var(--tfb-blue);
	border-color: var(--tfb-blue);
	color: var(--tfb-white);
}

.nav-links .page-numbers:hover {
	border-color: var(--tfb-blue);
	color: var(--tfb-blue);
}

/* ---------- Sponsors wall ---------- */

.tfb-sponsors {
	padding: 64px 24px;
	background: var(--tfb-bg-soft);
	border-top: 1px solid var(--tfb-line);
	text-align: center;
}

.tfb-sponsors__inner {
	max-width: var(--tfb-max);
	margin: 0 auto;
}

.tfb-sponsors__title {
	font-size: clamp(28px, 4vw, 40px);
	margin: 0 0 12px;
}

.tfb-sponsors__sub {
	color: var(--tfb-muted);
	max-width: 600px;
	margin: 0 auto 36px;
}

.tfb-sponsors__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.tfb-sponsors__card {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	padding: 15px;
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 6px;
	box-shadow: var(--tfb-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tfb-sponsors__card:hover {
	box-shadow: var(--tfb-shadow);
	transform: translateY(-3px);
}

.tfb-sponsors__card img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0);
	opacity: 1;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.tfb-sponsors__card:hover img {
	filter: grayscale(100%);
	opacity: 0.65;
}

.tfb-sponsors__more {
	margin: 32px 0 0;
}

.tfb-sponsors__more a {
	color: var(--tfb-blue);
	font-weight: 700;
	text-decoration: none;
}

.tfb-sponsors__more a:hover {
	text-decoration: underline;
}

/* ---------- Sponsors Page ---------- */

.tfb-page-hero--sponsors {
	background: linear-gradient(135deg, var(--tfb-blue) 0%, var(--tfb-blue-darker) 100%);
	padding: 56px 24px;
	text-align: center;
}

.tfb-page-hero--sponsors .tfb-page-hero__title {
	color: #fff;
	font-size: clamp(32px, 5vw, 48px);
	margin: 0 0 12px;
}

.tfb-page-hero--sponsors .tfb-page-hero__sub {
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
	max-width: 640px;
	margin: 0 auto;
}

.tfb-sponsors-page {
	padding: 56px 24px;
	background: var(--tfb-bg-soft);
}

.tfb-sponsors-page__inner {
	max-width: var(--tfb-max);
	margin: 0 auto;
}

.tfb-sponsors-page__intro {
	max-width: 720px;
	margin: 0 auto 48px;
	text-align: center;
	color: var(--tfb-muted);
	font-size: 17px;
	line-height: 1.7;
}

.tfb-sponsors-page__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.tfb-sponsors-page__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 180px;
	padding: 16px 20px;
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 8px;
	box-shadow: var(--tfb-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	text-decoration: none;
	gap: 10px;
}

.tfb-sponsors-page__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--tfb-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
	line-height: 1.3;
}

.tfb-sponsors-page__card:hover {
	box-shadow: var(--tfb-shadow);
	transform: translateY(-4px);
}

.tfb-sponsors-page__card img {
	max-width: 100%;
	max-height: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0);
	opacity: 1;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.tfb-sponsors-page__card:hover img {
	filter: grayscale(100%);
	opacity: 0.6;
}

.tfb-sponsors-cta {
	padding: 56px 24px;
	background: var(--tfb-white);
	border-top: 1px solid var(--tfb-line);
	text-align: center;
}

.tfb-sponsors-cta__inner {
	max-width: 560px;
	margin: 0 auto;
}

.tfb-sponsors-cta__title {
	font-size: clamp(24px, 3.5vw, 32px);
	margin: 0 0 12px;
	color: var(--tfb-blue);
}

.tfb-sponsors-cta__text {
	color: var(--tfb-muted);
	margin: 0 0 24px;
	line-height: 1.6;
}

.tfb-sponsors-cta__btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--tfb-blue);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.tfb-sponsors-cta__btn:hover {
	background: var(--tfb-blue-darker);
	transform: translateY(-2px);
}

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

.tfb-gallery {
	padding: 56px 24px;
	background: var(--tfb-bg-soft);
}

.tfb-gallery__inner {
	max-width: var(--tfb-max);
	margin: 0 auto;
}

.tfb-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 900px;
	margin: 0 auto;
}

.tfb-gallery__card {
	display: block;
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--tfb-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	align-self: start;
}

.tfb-gallery__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tfb-shadow);
}

.tfb-gallery__thumb {
	position: relative;
	height: 120px;
	overflow: hidden;
	background: var(--tfb-bg-soft);
}

.tfb-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.tfb-gallery__noimg {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tfb-accent-light);
	color: var(--tfb-blue);
	font-size: 40px;
}

.tfb-gallery__count {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(14, 88, 152, 0.85);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 3px;
}

.tfb-gallery__info {
	padding: 10px 14px 14px;
}

.tfb-gallery__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--tfb-ink);
	margin: 0;
	line-height: 1.3;
}

.tfb-gallery__card:hover .tfb-gallery__title {
	color: var(--tfb-blue);
}

.tfb-gallery__empty {
	text-align: center;
	color: var(--tfb-muted);
	font-size: 18px;
	padding: 40px 0;
}

/* Gallery image grid (on event posts) */
.tfb-gallery-images {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 24px 0;
}

.tfb-gallery-images img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 6px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.tfb-gallery-images img:hover {
	transform: scale(1.02);
	box-shadow: var(--tfb-shadow);
}

/* Lightbox */
.tfb-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.92);
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.tfb-lightbox.is-open {
	display: flex;
}

.tfb-lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 4px;
}

.tfb-lightbox__close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 36px;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.tfb-lightbox__close:hover {
	opacity: 1;
}

.tfb-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 48px;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	padding: 20px;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.tfb-lightbox__nav:hover {
	opacity: 1;
}

.tfb-lightbox__nav--prev { left: 10px; }
.tfb-lightbox__nav--next { right: 10px; }

/* ---------- Footer ---------- */

.tfb-footer {
	background: var(--tfb-blue-darker);
	color: rgba(255, 255, 255, 0.85);
	margin-top: auto;
	font-size: 14px;
}

.tfb-footer__inner {
	max-width: var(--tfb-max);
	margin: 0 auto;
	padding: 56px 24px 40px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.tfb-footer__col p {
	margin: 0;
}

.tfb-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.tfb-footer a:hover {
	color: var(--tfb-white);
}

.tfb-footer__label {
	display: block;
	font-family: var(--tfb-serif);
	font-size: 15px;
	font-weight: 700;
	color: var(--tfb-white);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--tfb-accent);
}

.tfb-footer__col a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.tfb-footer__col img {
	border-radius: 4px;
}

.tfb-footer__address {
	line-height: 1.6;
}

.tfb-footer__address img {
	float: left;
	margin-right: 12px;
}

.tfb-copyright {
	background: var(--tfb-blue-darker);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
	padding: 14px 24px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------- 404 ---------- */

.tfb-404 {
	text-align: center;
	padding: 80px 24px;
	max-width: 600px;
	margin: 0 auto;
}

.tfb-404 .tfb-page-title {
	border: none;
	display: block;
	font-size: clamp(40px, 8vw, 72px);
	color: var(--tfb-blue);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.tfb-cards {
		grid-template-columns: 1fr;
	}

	.tfb-sponsors__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.tfb-sponsors-page__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}

	.tfb-sponsors-page__card {
		height: 160px;
		padding: 14px 16px;
	}

	.tfb-sponsors-page__card img {
		max-height: 90px;
	}

	.tfb-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}

	.tfb-logo-bar__row {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.tfb-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tfb-gallery-images {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.tfb-burger {
		display: block;
	}

	.tfb-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.tfb-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(85vw, 340px);
		background: var(--tfb-white);
		box-shadow: var(--tfb-shadow);
		padding: 80px 0 40px;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
	}

	.tfb-nav.is-open {
		transform: translateX(0);
	}

	.tfb-menu {
		flex-direction: column;
	}

	.tfb-menu > li > a {
		padding: 14px 28px;
		border-bottom: 1px solid var(--tfb-bg-soft);
	}

	.tfb-menu > li > a::after {
		display: none;
	}

	/* sub-menus: static, indented */
	.tfb-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		box-shadow: none;
		min-width: 0;
		padding: 0 0 0 14px;
		background: var(--tfb-bg-soft);
	}

	.tfb-menu .sub-menu .sub-menu {
		left: 0;
		top: 0;
	}

	.tfb-slider {
		height: 60vh;
		min-height: 360px;
	}

	.tfb-slider__caption {
		padding-bottom: 40px;
	}
}

@media (max-width: 600px) {
	.tfb-sponsors__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tfb-sponsors-page__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.tfb-sponsors-page__card {
		height: 140px;
		padding: 12px;
	}

	.tfb-sponsors-page__card img {
		max-height: 75px;
	}

	.tfb-sponsors-page__name {
		font-size: 11px;
	}

	.tfb-footer__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.tfb-content {
		padding: 40px 18px;
	}

	.tfb-article {
		padding: 40px 18px;
	}

	.tfb-gallery__grid {
		grid-template-columns: 1fr;
	}

	.tfb-gallery__thumb {
		height: 180px;
	}

	.tfb-gallery-images {
		grid-template-columns: 1fr;
	}

	.tfb-gallery-images img {
		height: 250px;
	}
}

/* ---------- Board / Vorstandschaft ---------- */

.tfb-board {
	padding: 48px 24px;
	background: var(--tfb-bg-soft);
}

.tfb-board__inner {
	max-width: 900px;
	margin: 0 auto;
}

.tfb-board__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.tfb-board__card {
	background: var(--tfb-white);
	border: 1px solid var(--tfb-line);
	border-radius: 8px;
	padding: 20px;
	box-shadow: var(--tfb-shadow-sm);
}

.tfb-board__card img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 12px;
}

.tfb-board__card h3 {
	font-size: 15px;
	font-weight: 600;
	color: var(--tfb-blue);
	margin: 0 0 8px;
	line-height: 1.3;
}

.tfb-board__card p {
	font-size: 14px;
	color: var(--tfb-ink);
	margin: 0;
	line-height: 1.5;
}

.tfb-board__card a {
	color: var(--tfb-blue);
	text-decoration: none;
}

.tfb-board__card a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.tfb-board__grid {
		grid-template-columns: 1fr;
	}
}
