/**
 * Sterrenwacht Fotoarchief – Blocksy Child 0.1.0
 * Donkere, rustige en responsieve astrofotografie-interface.
 */

:root {
	--sterrenwacht-bg: #03080d;
	--sterrenwacht-bg-soft: #061018;
	--sterrenwacht-panel: #081720;
	--sterrenwacht-panel-2: #0b1d27;
	--sterrenwacht-panel-3: #102a37;
	--sterrenwacht-border: #1c3b4a;
	--sterrenwacht-border-soft: rgba(92, 161, 190, 0.2);
	--sterrenwacht-blue: #26aeea;
	--sterrenwacht-blue-light: #72d2fa;
	--sterrenwacht-blue-dark: #087eb7;
	--sterrenwacht-text: #eaf6fb;
	--sterrenwacht-muted: #91aeba;
	--sterrenwacht-muted-light: #bad0da;
	--sterrenwacht-danger: #ff8686;
	--sterrenwacht-radius: 7px;
	--sterrenwacht-radius-large: 11px;
	--sterrenwacht-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
	--sterrenwacht-container: 1580px;
}

html {
	background: var(--sterrenwacht-bg);
}

body.sterrenwacht-theme {
	--theme-palette-color-1: var(--sterrenwacht-blue);
	--theme-palette-color-2: var(--sterrenwacht-blue-dark);
	--theme-palette-color-3: var(--sterrenwacht-text);
	--theme-palette-color-4: var(--sterrenwacht-muted);
	--theme-palette-color-5: var(--sterrenwacht-panel-3);
	--theme-palette-color-6: var(--sterrenwacht-panel-2);
	--theme-palette-color-7: var(--sterrenwacht-panel);
	--theme-palette-color-8: var(--sterrenwacht-bg);
	--theme-text-color: var(--sterrenwacht-text);
	--theme-headings-color: #f4fbff;
	--theme-link-initial-color: #55c4f3;
	--theme-link-hover-color: #9bdefb;
	--theme-border-color: var(--sterrenwacht-border);
	--theme-form-field-background-initial-color: #06131b;
	--theme-form-field-background-focus-color: #081a24;
	--theme-form-field-border-initial-color: var(--sterrenwacht-border);
	--theme-form-field-border-focus-color: var(--sterrenwacht-blue);
	--theme-form-field-text-initial-color: var(--sterrenwacht-text);
	--theme-selection-text-color: #fff;
	--theme-selection-background-color: var(--sterrenwacht-blue-dark);
	min-height: 100vh;
	background:
		radial-gradient(circle at 86% -8%, rgba(38, 174, 234, 0.13), transparent 29rem),
		radial-gradient(circle at 12% 38%, rgba(23, 91, 126, 0.08), transparent 34rem),
		linear-gradient(180deg, #03080d 0%, #061119 47%, #03080d 100%);
	color: var(--sterrenwacht-text);
}

body.sterrenwacht-theme::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	pointer-events: none;
	opacity: 0.19;
	background-image:
		radial-gradient(circle at 17% 22%, #fff 0 1px, transparent 1.4px),
		radial-gradient(circle at 73% 12%, #8cdcff 0 1px, transparent 1.5px),
		radial-gradient(circle at 52% 71%, #fff 0 1px, transparent 1.4px),
		radial-gradient(circle at 91% 78%, #fff 0 1px, transparent 1.4px);
	background-size: 113px 127px, 167px 151px, 199px 187px, 251px 229px;
}

.sterrenwacht-theme a {
	text-underline-offset: 0.18em;
}

.sterrenwacht-theme a,
.sterrenwacht-theme button,
.sterrenwacht-theme input,
.sterrenwacht-theme select,
.sterrenwacht-theme textarea {
	transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sterrenwacht-theme :focus-visible {
	outline: 2px solid var(--sterrenwacht-blue-light);
	outline-offset: 3px;
}

/* Blocksy header en footer ------------------------------------------------- */

.sterrenwacht-theme .ct-header {
	position: relative;
	z-index: 80;
	border-bottom: 1px solid var(--sterrenwacht-border-soft);
	background: rgba(3, 8, 13, 0.93);
	backdrop-filter: blur(18px);
}

.sterrenwacht-theme .ct-header [data-row] {
	background: transparent;
}

.sterrenwacht-theme .ct-header [data-row*="middle"] {
	border-bottom: 1px solid rgba(92, 161, 190, 0.13);
}

.sterrenwacht-theme .ct-header .site-title,
.sterrenwacht-theme .ct-header .site-title a {
	color: var(--sterrenwacht-text);
	font-weight: 720;
	letter-spacing: -0.02em;
}

.sterrenwacht-theme .ct-header .site-description {
	color: var(--sterrenwacht-muted);
	font-size: 0.78rem;
}

.sterrenwacht-theme .ct-header .site-logo-container img {
	filter: drop-shadow(0 0 16px rgba(38, 174, 234, 0.24));
}

.sterrenwacht-theme .ct-header .menu > li > a,
.sterrenwacht-theme .ct-header .ct-menu-link,
.sterrenwacht-theme .ct-header .mobile-menu a {
	color: #c5dbe5;
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.sterrenwacht-theme .ct-header .menu > li.current-menu-item > a,
.sterrenwacht-theme .ct-header .menu > li.current-menu-ancestor > a,
.sterrenwacht-theme .ct-header .menu > li > a:hover,
.sterrenwacht-theme .ct-header .ct-menu-link:hover {
	color: #fff;
}

.sterrenwacht-theme .ct-header .sub-menu,
.sterrenwacht-theme .ct-header .ct-header-search-form,
.sterrenwacht-theme .ct-panel-content {
	border: 1px solid var(--sterrenwacht-border);
	background: rgba(6, 19, 27, 0.98);
	box-shadow: var(--sterrenwacht-shadow);
}

.sterrenwacht-theme .ct-header input[type="search"] {
	color: var(--sterrenwacht-text);
	background: #06131b;
}

.sterrenwacht-theme .ct-header-trigger,
.sterrenwacht-theme .ct-header-search {
	--theme-icon-color: var(--sterrenwacht-blue-light);
}

.sterrenwacht-theme .ct-footer {
	margin-top: 2.5rem;
	border-top: 1px solid var(--sterrenwacht-border-soft);
	background:
		radial-gradient(circle at 88% 5%, rgba(38, 174, 234, 0.09), transparent 23rem),
		#03080d;
}

.sterrenwacht-theme .ct-footer [data-row] {
	border-color: var(--sterrenwacht-border-soft);
	background: transparent;
}

.sterrenwacht-theme .ct-footer,
.sterrenwacht-theme .ct-footer p,
.sterrenwacht-theme .ct-footer .ct-footer-copyright {
	color: var(--sterrenwacht-muted);
}

.sterrenwacht-theme .ct-footer a {
	color: var(--sterrenwacht-muted-light);
}

.sterrenwacht-theme .ct-footer a:hover {
	color: var(--sterrenwacht-blue-light);
}

.sterrenwacht-theme #main {
	min-height: 68vh;
	background: transparent;
}

/* Algemene layouts ------------------------------------------------------- */

.sterrenwacht-site-shell {
	width: min(calc(100% - 2rem), var(--sterrenwacht-container));
	margin-inline: auto;
	padding-block: 1rem 2.5rem;
}

.sterrenwacht-panel,
.sfa-module,
.sfa-filter-panel {
	overflow: hidden;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: var(--sterrenwacht-radius);
	background: linear-gradient(145deg, rgba(11, 29, 39, 0.97), rgba(5, 17, 24, 0.99));
	box-shadow: var(--sterrenwacht-shadow);
}

.sterrenwacht-panel__header,
.sfa-module__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 47px;
	padding: 0.78rem 0.9rem;
	border-bottom: 1px solid var(--sterrenwacht-border);
	background: rgba(8, 23, 32, 0.94);
}

.sterrenwacht-panel__header h2,
.sfa-module__title {
	display: flex;
	align-items: center;
	gap: 0.58rem;
	margin: 0;
	color: var(--sterrenwacht-text);
	font-size: 0.78rem;
	font-weight: 760;
	letter-spacing: 0.045em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sterrenwacht-panel__header h2::before,
.sfa-module__title::before {
	width: 0.56rem;
	height: 0.56rem;
	border: 1px solid var(--sterrenwacht-blue);
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(38, 174, 234, 0.57);
	content: "";
}

.sfa-module__link {
	color: var(--sterrenwacht-blue-light);
	font-size: 0.66rem;
	font-weight: 720;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.sfa-module__link:hover {
	color: #fff;
}

.sterrenwacht-empty,
.sfa-empty {
	padding: 1.35rem;
	color: var(--sterrenwacht-muted);
	font-size: 0.84rem;
	text-align: center;
}

.sterrenwacht-empty h2,
.sterrenwacht-empty strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--sterrenwacht-text);
}

.sterrenwacht-empty p:last-child {
	margin-bottom: 0;
}

.sterrenwacht-eyebrow,
.sfa-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.75rem;
	color: var(--sterrenwacht-blue-light);
	font-size: 0.7rem;
	font-weight: 780;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.sterrenwacht-eyebrow::before,
.sfa-eyebrow::before {
	content: "✦";
	font-size: 0.72rem;
}

/* Homepage --------------------------------------------------------------- */

.sterrenwacht-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(215px, 18%) minmax(0, 1fr);
	gap: 0.78rem;
	align-items: start;
}

.sterrenwacht-dashboard-sidebar {
	display: grid;
	gap: 0.78rem;
	position: sticky;
	top: calc(var(--header-sticky-height, 0px) + var(--admin-bar, 0px) + 1rem);
}

.sterrenwacht-dashboard-workspace,
.sterrenwacht-dashboard-main,
.sterrenwacht-dashboard-details {
	display: grid;
	min-width: 0;
	gap: 0.78rem;
}

.sterrenwacht-dashboard-content {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(285px, 0.78fr);
	gap: 0.78rem;
	align-items: start;
}

.sterrenwacht-home-content {
	margin-top: 0.78rem;
	padding: clamp(1rem, 2.5vw, 2rem);
}

/* Hero ------------------------------------------------------------------- */

.sfa-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: clamp(285px, 31vw, 430px);
	overflow: hidden;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: var(--sterrenwacht-radius-large);
	background-color: #07131b;
	background-position: center;
	background-size: cover;
	box-shadow: var(--sterrenwacht-shadow);
}

.sfa-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(90deg, rgba(2, 7, 11, 0.97) 0%, rgba(2, 7, 11, 0.88) 31%, rgba(2, 7, 11, 0.28) 66%, rgba(2, 7, 11, 0.06) 100%),
		radial-gradient(circle at 74% 50%, rgba(38, 174, 234, 0.14), transparent 38%);
}

.sfa-hero::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	content: "";
	opacity: 0.4;
	background-image:
		radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.4px),
		radial-gradient(circle at 75% 24%, #9fdcff 0 1px, transparent 1.5px),
		radial-gradient(circle at 44% 68%, #fff 0 1px, transparent 1.4px),
		radial-gradient(circle at 90% 72%, #fff 0 1px, transparent 1.4px);
	background-size: 83px 91px, 121px 117px, 149px 137px, 191px 173px;
}

.sfa-hero__content {
	display: flex;
	width: min(580px, 76%);
	min-height: inherit;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.55rem, 4vw, 3.7rem);
}

.sfa-hero h1 {
	margin: 0 0 0.5rem;
	color: #f7fcff;
	font-size: clamp(1.85rem, 3.3vw, 3.55rem);
	font-weight: 690;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.sfa-hero__subtitle {
	margin: 0 0 0.8rem;
	color: #abdff4;
	font-size: clamp(0.94rem, 1.5vw, 1.1rem);
}

.sfa-hero__description {
	max-width: 48ch;
	margin: 0 0 1.25rem;
	color: #c3d6df;
	font-size: 0.91rem;
}

.sfa-button,
.sfa-filter-submit,
.sfa-filter-reset,
.sterrenwacht-filter-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.7rem 1rem;
	border: 1px solid var(--sterrenwacht-blue-dark);
	border-radius: 5px;
	background: rgba(8, 126, 183, 0.13);
	color: #c4edff;
	font-size: 0.72rem;
	font-weight: 760;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
}

.sfa-hero .sfa-button {
	align-self: flex-start;
}

.sfa-button:hover,
.sfa-filter-submit:hover,
.sterrenwacht-filter-toggle:hover {
	border-color: var(--sterrenwacht-blue);
	background: var(--sterrenwacht-blue-dark);
	color: #fff;
	transform: translateY(-1px);
}

/* Filters en categorieën ------------------------------------------------- */

.sfa-filter-panel {
	box-shadow: none;
}

.sfa-filter-panel__body {
	padding: 0.9rem;
}

.sfa-filter-field {
	margin-bottom: 0.8rem;
}

.sfa-filter-field label {
	display: block;
	margin-bottom: 0.32rem;
	color: #c3d8e1;
	font-size: 0.68rem;
	font-weight: 720;
	letter-spacing: 0.025em;
}

.sfa-filter-field input,
.sfa-filter-field select {
	box-sizing: border-box;
	width: 100%;
	min-height: 39px;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: 4px;
	outline: none;
	background: #06131b;
	color: var(--sterrenwacht-text);
	font-size: 0.78rem;
}

.sfa-filter-field select {
	color-scheme: dark;
}

.sfa-filter-field input:focus,
.sfa-filter-field select:focus {
	border-color: var(--sterrenwacht-blue);
	box-shadow: 0 0 0 3px rgba(38, 174, 234, 0.11);
}

.sfa-filter-actions {
	display: grid;
	gap: 0.55rem;
}

.sfa-filter-submit {
	border-color: #1596d4;
	background: linear-gradient(180deg, #119bdd, #0878b2);
	color: #fff;
}

.sfa-filter-reset {
	border-color: var(--sterrenwacht-border);
	background: transparent;
	color: var(--sterrenwacht-muted);
}

.sfa-filter-reset:hover {
	border-color: #396477;
	color: #fff;
}

.sterrenwacht-taxonomy-list {
	margin: 0;
	padding: 0.45rem 0;
	list-style: none;
}

.sterrenwacht-taxonomy-list li {
	margin: 0;
}

.sterrenwacht-taxonomy-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 0.55rem 0.85rem;
	color: var(--sterrenwacht-muted-light);
	font-size: 0.75rem;
}

.sterrenwacht-taxonomy-list a::before {
	width: 0.34rem;
	height: 0.34rem;
	margin-right: 0.1rem;
	border-radius: 50%;
	background: rgba(114, 210, 250, 0.65);
	box-shadow: 0 0 8px rgba(38, 174, 234, 0.3);
	content: "";
}

.sterrenwacht-taxonomy-list a span {
	min-width: 0;
	margin-right: auto;
}

.sterrenwacht-taxonomy-list a small {
	min-width: 2em;
	color: #6f909e;
	text-align: right;
}

.sterrenwacht-taxonomy-list a:hover {
	background: rgba(38, 174, 234, 0.08);
	color: #fff;
}

.sterrenwacht-filter-toggle {
	display: none;
	width: 100%;
	margin-bottom: 0.7rem;
	gap: 0.55rem;
}

/* Plugin-fotokaarten ----------------------------------------------------- */

.sfa-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.58rem;
	padding: 0.68rem;
}

.sfa-photo-card {
	overflow: hidden;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: 5px;
	background: #07141c;
	box-shadow: none;
}

.sfa-photo-card:hover {
	border-color: #397087;
	transform: translateY(-2px);
}

.sfa-photo-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(circle at 60% 35%, rgba(38, 174, 234, 0.3), transparent 18%),
		linear-gradient(145deg, #132f3d, #03080d);
}

.sfa-photo-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.sfa-photo-card:hover img {
	transform: scale(1.04);
}

.sfa-photo-card__body {
	padding: 0.65rem 0.7rem 0.72rem;
}

.sfa-photo-card__title {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.3;
}

.sfa-photo-card__title a {
	color: var(--sterrenwacht-text);
}

.sfa-photo-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem;
	margin-top: 0.27rem;
	color: var(--sterrenwacht-muted);
	font-size: 0.65rem;
}

.sterrenwacht-chip,
.sfa-chip {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	padding: 0.2rem 0.43rem;
	border: 1px solid rgba(38, 174, 234, 0.23);
	border-radius: 4px;
	background: rgba(38, 174, 234, 0.1);
	color: #afe6ff;
	font-size: 0.65rem;
	line-height: 1.25;
}

/* Laatste uploads -------------------------------------------------------- */

.sfa-latest-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.48rem;
	padding: 0.68rem;
}

.sfa-latest-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: 4px;
	background: #07141c;
}

.sfa-latest-card:hover {
	border-color: #397087;
}

.sfa-latest-card img,
.sfa-latest-card__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: linear-gradient(145deg, #132f3d, #03080d);
}

.sfa-latest-card__body {
	padding: 0.55rem;
}

.sfa-latest-card__title {
	overflow: hidden;
	margin: 0 0 0.2rem;
	color: var(--sterrenwacht-text);
	font-size: 0.74rem;
	font-weight: 690;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sfa-latest-card__title a {
	color: inherit;
}

.sfa-latest-card__date {
	color: var(--sterrenwacht-muted);
	font-size: 0.62rem;
}

/* Details en apparatuur -------------------------------------------------- */

.sfa-details {
	padding-bottom: 0.4rem;
}

.sfa-details__intro {
	padding: 0.9rem;
	border-bottom: 1px solid var(--sterrenwacht-border);
}

.sfa-details__intro h2 {
	margin: 0 0 0.25rem;
	color: var(--sterrenwacht-text);
	font-size: 1.15rem;
}

.sfa-details__intro p {
	margin: 0;
	color: var(--sterrenwacht-muted);
	font-size: 0.76rem;
}

.sfa-details-list {
	margin: 0;
	padding: 0.55rem 0.9rem 0.9rem;
}

.sfa-details-list__row {
	display: grid;
	grid-template-columns: minmax(105px, 40%) 1fr;
	gap: 0.6rem;
	padding: 0.43rem 0;
	border-bottom: 1px solid rgba(28, 59, 74, 0.63);
	font-size: 0.7rem;
}

.sfa-details-list__row:last-child {
	border-bottom: 0;
}

.sfa-details-list dt {
	color: #c8dbe4;
	font-weight: 680;
}

.sfa-details-list dd {
	margin: 0;
	color: var(--sterrenwacht-muted);
	overflow-wrap: anywhere;
}

.sfa-details__action {
	padding: 0 0.9rem 0.75rem;
	text-align: center;
}

.sfa-equipment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.58rem;
	padding: 0.68rem;
}

.sfa-equipment-item {
	min-width: 0;
	padding: 0.78rem;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: 4px;
	background: #07141c;
}

.sfa-equipment-item__icon {
	display: grid;
	width: 40px;
	height: 40px;
	margin-bottom: 0.55rem;
	place-items: center;
	border: 1px solid rgba(38, 174, 234, 0.25);
	border-radius: 50%;
	background: rgba(38, 174, 234, 0.08);
	color: var(--sterrenwacht-blue-light);
	font-size: 1rem;
}

.sfa-equipment-item h3 {
	margin: 0 0 0.15rem;
	font-size: 0.77rem;
}

.sfa-equipment-item h3 a {
	color: var(--sterrenwacht-text);
}

.sfa-equipment-item p {
	margin: 0;
	color: var(--sterrenwacht-muted);
	font-size: 0.63rem;
}

/* Archief --------------------------------------------------------------- */

.sterrenwacht-archive-shell {
	padding-top: clamp(1.4rem, 3vw, 2.6rem);
}

.sterrenwacht-page-heading {
	max-width: 820px;
	margin-bottom: 1.15rem;
}

.sterrenwacht-page-heading h1,
.sterrenwacht-single-header h1 {
	margin: 0 0 0.45rem;
	color: #f7fcff;
	font-size: clamp(2rem, 4.4vw, 4rem);
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.sterrenwacht-page-description,
.sterrenwacht-single-intro {
	color: var(--sterrenwacht-muted-light);
	font-size: clamp(0.94rem, 1.4vw, 1.08rem);
}

.sterrenwacht-page-description p:last-child,
.sterrenwacht-single-intro p:last-child {
	margin-bottom: 0;
}

.sterrenwacht-archive-grid {
	display: grid;
	grid-template-columns: minmax(220px, 23%) minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
}

.sterrenwacht-archive-sidebar {
	display: grid;
	gap: 0.78rem;
	position: sticky;
	top: calc(var(--header-sticky-height, 0px) + var(--admin-bar, 0px) + 1rem);
}

.sterrenwacht-archive-results {
	min-width: 0;
}

.sterrenwacht-results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 48px;
	margin-bottom: 0.75rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: var(--sterrenwacht-radius);
	background: rgba(8, 23, 32, 0.82);
	color: var(--sterrenwacht-muted-light);
	font-size: 0.76rem;
}

.sterrenwacht-results-header strong {
	color: var(--sterrenwacht-text);
}

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

.sterrenwacht-photo-card {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: var(--sterrenwacht-radius);
	background: linear-gradient(145deg, #0a1b24, #06131b);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.sterrenwacht-photo-card:hover {
	border-color: #3d7288;
	transform: translateY(-3px);
}

.sterrenwacht-photo-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: linear-gradient(145deg, #132f3d, #03080d);
}

.sterrenwacht-photo-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 380ms ease;
}

.sterrenwacht-photo-card:hover .sterrenwacht-photo-card__media img {
	transform: scale(1.045);
}

.sterrenwacht-photo-card__media .sterrenwacht-chip {
	position: absolute;
	right: 0.55rem;
	bottom: 0.55rem;
	backdrop-filter: blur(8px);
}

.sterrenwacht-photo-card__body {
	padding: 0.78rem 0.82rem 0.86rem;
}

.sterrenwacht-photo-card__title {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.3;
}

.sterrenwacht-photo-card__title a {
	color: var(--sterrenwacht-text);
}

.sterrenwacht-photo-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 0.36rem;
	color: var(--sterrenwacht-muted);
	font-size: 0.66rem;
}

.sterrenwacht-photo-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background:
		radial-gradient(circle at 50% 45%, rgba(38, 174, 234, 0.26), transparent 20%),
		linear-gradient(145deg, #132f3d, #03080d);
	color: var(--sterrenwacht-blue-light);
	font-size: 2rem;
}

.sterrenwacht-pagination {
	margin-top: 1.15rem;
}

.sterrenwacht-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.sterrenwacht-pagination .page-numbers {
	display: inline-grid;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.65rem;
	place-items: center;
	border: 1px solid var(--sterrenwacht-border);
	border-radius: 4px;
	background: rgba(8, 23, 32, 0.82);
	color: var(--sterrenwacht-muted-light);
	font-size: 0.76rem;
}

.sterrenwacht-pagination .page-numbers.current,
.sterrenwacht-pagination a.page-numbers:hover {
	border-color: var(--sterrenwacht-blue-dark);
	background: var(--sterrenwacht-blue-dark);
	color: #fff;
}

/* Enkele astrofoto ------------------------------------------------------- */

.sterrenwacht-single-shell {
	padding-top: clamp(1.2rem, 3vw, 2.4rem);
}

.sterrenwacht-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1rem;
	color: #6f909e;
	font-size: 0.71rem;
}

.sterrenwacht-breadcrumb a {
	color: var(--sterrenwacht-muted-light);
}

.sterrenwacht-breadcrumb span[aria-current="page"] {
	overflow: hidden;
	max-width: 34ch;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sterrenwacht-single-header {
	max-width: 980px;
	margin-bottom: 1.1rem;
}

.sterrenwacht-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.7fr);
	gap: 0.85rem;
	align-items: start;
}

.sterrenwacht-single-main {
	display: grid;
	min-width: 0;
	gap: 0.85rem;
}

.sterrenwacht-single-image {
	margin: 0;
	background: #010407;
}

.sterrenwacht-single-image img {
	display: block;
	width: 100%;
	max-height: 82vh;
	object-fit: contain;
	background: #010407;
}

.sterrenwacht-photo-placeholder--large {
	min-height: min(68vh, 680px);
}

.sterrenwacht-single-content {
	padding: clamp(1rem, 2.5vw, 2rem);
	color: #c7d9e1;
}

.sterrenwacht-single-content > :last-child {
	margin-bottom: 0;
}

.sterrenwacht-single-details {
	position: sticky;
	top: calc(var(--header-sticky-height, 0px) + var(--admin-bar, 0px) + 1rem);
}

.sterrenwacht-taxonomy-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.sterrenwacht-taxonomy-chips .sterrenwacht-chip:hover {
	border-color: var(--sterrenwacht-blue);
	background: rgba(38, 174, 234, 0.2);
	color: #fff;
}

.sterrenwacht-post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
	padding: 0.9rem;
}

.sterrenwacht-post-navigation > div:last-child {
	text-align: right;
}

.sterrenwacht-post-navigation a {
	color: var(--sterrenwacht-muted-light);
	font-size: 0.78rem;
}

.sterrenwacht-post-navigation a:hover {
	color: #fff;
}

/* Block-editor inhoud binnen maatwerkpanelen ---------------------------- */

.sterrenwacht-home-content .alignwide,
.sterrenwacht-single-content .alignwide,
.sterrenwacht-home-content .alignfull,
.sterrenwacht-single-content .alignfull {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

.sterrenwacht-theme blockquote {
	border-color: var(--sterrenwacht-blue-dark);
	color: var(--sterrenwacht-muted-light);
}

.sterrenwacht-theme table,
.sterrenwacht-theme th,
.sterrenwacht-theme td {
	border-color: var(--sterrenwacht-border);
}

/* Responsief ------------------------------------------------------------- */

@media (max-width: 1320px) {
	.sterrenwacht-dashboard-content {
		grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.82fr);
	}

	.sfa-card-grid,
	.sterrenwacht-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfa-latest-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1050px) {
	.sterrenwacht-dashboard-grid {
		grid-template-columns: minmax(205px, 25%) minmax(0, 1fr);
	}

	.sterrenwacht-dashboard-content {
		grid-template-columns: 1fr;
	}

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

	.sterrenwacht-archive-grid {
		grid-template-columns: minmax(210px, 28%) minmax(0, 1fr);
	}

	.sterrenwacht-single-grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
	}
}

@media (max-width: 820px) {
	.sterrenwacht-site-shell {
		width: min(calc(100% - 1.2rem), var(--sterrenwacht-container));
	}

	.sterrenwacht-filter-toggle {
		display: inline-flex;
	}

	.sterrenwacht-dashboard-grid,
	.sterrenwacht-archive-grid,
	.sterrenwacht-single-grid {
		display: block;
	}

	.sterrenwacht-dashboard-sidebar,
	.sterrenwacht-archive-sidebar {
		display: none;
		position: static;
		margin-bottom: 0.78rem;
	}

	.sterrenwacht-dashboard-sidebar.is-open,
	.sterrenwacht-archive-sidebar.is-open {
		display: grid;
	}

	.sterrenwacht-single-details {
		position: static;
		margin-top: 0.85rem;
	}

	.sterrenwacht-dashboard-details {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 620px) {
	.sterrenwacht-site-shell {
		width: min(calc(100% - 0.8rem), var(--sterrenwacht-container));
		padding-top: 0.65rem;
	}

	.sfa-hero {
		min-height: 350px;
	}

	.sfa-hero::before {
		background: linear-gradient(90deg, rgba(2, 7, 11, 0.95), rgba(2, 7, 11, 0.72));
	}

	.sfa-hero__content {
		width: 100%;
		padding: 1.25rem;
	}

	.sfa-card-grid,
	.sfa-latest-list,
	.sfa-equipment-grid,
	.sterrenwacht-photo-grid {
		grid-template-columns: 1fr;
	}

	.sfa-latest-card {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.sfa-latest-card > a,
	.sfa-latest-card img,
	.sfa-latest-card__placeholder {
		height: 100%;
		min-height: 82px;
		aspect-ratio: 1;
	}

	.sfa-details-list__row {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}

	.sterrenwacht-results-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.sterrenwacht-photo-card__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.sterrenwacht-post-navigation {
		grid-template-columns: 1fr;
	}

	.sterrenwacht-post-navigation > div:last-child {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sterrenwacht-theme *,
	.sterrenwacht-theme *::before,
	.sterrenwacht-theme *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
