/*
 * GoCamp – landingssider (type × område) og destinationssider.
 *
 * Bygger på child-temaets designtokens (--gc-skov, --gc-sand …) og Listifys
 * kort-markup for stederne. Mobil først.
 */

/* ------------------------------------------------------------------ */
/* Grundlag                                                            */
/* ------------------------------------------------------------------ */

.gc-landing {
	background: var(--gc-creme, #f7f3ec);
	color: var(--gc-tekst-bloed, #4a554d);
	padding-bottom: 8px;
}

.gc-landing .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gc-landing__indhold {
	display: block;
	padding: 0;
}

/* Listifys header er fast; hop-links skal ikke ende under den. */
.gc-landing [id] {
	scroll-margin-top: 96px;
}

.gc-sektion {
	margin: 40px 0;
}

.gc-sektion__hoved {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin-bottom: 18px;
}

.gc-sektion__hoved .gc-sektion__titel {
	margin-bottom: 0;
}

.gc-sektion__titel {
	margin: 0 0 16px;
	font-size: clamp(23px, 3.4vw, 31px);
	line-height: 1.2;
	color: var(--gc-tekst, #26302a);
}

.gc-pil-link {
	font-weight: 600;
	text-decoration: none;
	color: var(--gc-skov, #2f4a3a);
}

.gc-pil-link::after {
	content: " \2192";
	transition: margin-left 0.2s ease;
}

.gc-pil-link:hover::after,
.gc-pil-link:focus::after {
	margin-left: 3px;
}

.gc-knapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 20px 0 0;
}

.gc-mere {
	margin: 24px 0 0;
	text-align: center;
}

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

.gc-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: 28px 0 30px;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 85% 10%, rgba(169, 184, 160, 0.28) 0%, rgba(169, 184, 160, 0) 60%),
		linear-gradient(160deg, var(--gc-skov, #2f4a3a) 0%, var(--gc-skov-moerk, #1f3329) 100%);
	color: var(--gc-hvid, #fffdf9);
}

.gc-hero--stor {
	min-height: 320px;
}

.gc-hero__billede {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Diskret mørkegrøn toning, så teksten står tydeligt på fotoet. */
.gc-hero--billede::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(20, 32, 25, 0.45) 0%, rgba(20, 32, 25, 0.12) 38%, rgba(20, 32, 25, 0.78) 100%);
}

.gc-hero__indhold {
	position: relative;
	z-index: 2;
	width: 100%;
}

.gc-hero__overtitel {
	margin: 14px 0 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 253, 249, 0.82);
}

.gc-hero__titel {
	margin: 6px 0 10px;
	font-size: clamp(30px, 7vw, 54px);
	line-height: 1.06;
	color: var(--gc-hvid, #fffdf9);
	text-shadow: 0 1px 12px rgba(20, 32, 25, 0.35);
}

.gc-hero__tekst {
	max-width: 680px;
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: rgba(255, 253, 249, 0.93);
}

.gc-hero__indhold,
.gc-hero .gc-broedkrummer {
	text-shadow: 0 1px 8px rgba(20, 32, 25, 0.45);
}

/* Krediteringen står under teksten i heroen, så den aldrig dækker mærkerne. */
.gc-hero .gc-fotokredit--hero {
	position: relative;
	right: auto;
	bottom: auto;
	z-index: 3;
	display: block;
	width: fit-content;
	margin: 16px 12px -14px auto;
	text-shadow: none;
}

/* Brødkrummer. */
.gc-broedkrummer ol {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.gc-broedkrummer li + li::before {
	content: "\203A";
	margin-right: 8px;
	opacity: 0.7;
}

.gc-hero .gc-broedkrummer,
.gc-hero .gc-broedkrummer a {
	color: rgba(255, 253, 249, 0.86);
}

.gc-hero .gc-broedkrummer a:hover,
.gc-hero .gc-broedkrummer a:focus {
	color: var(--gc-hvid, #fffdf9);
}

/* ------------------------------------------------------------------ */
/* Mærker (chips)                                                      */
/* ------------------------------------------------------------------ */

.gc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--gc-salvie-lys, #dde5d6);
	color: var(--gc-skov, #2f4a3a);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

a.gc-chip:hover,
a.gc-chip:focus {
	background: var(--gc-skov, #2f4a3a);
	color: #fff;
}

.gc-chip--hvid {
	background: var(--gc-hvid, #fffdf9);
}

.gc-chip__tal {
	font-weight: 500;
	opacity: 0.75;
}

.gc-hero__chips {
	margin-top: 14px;
}

.gc-hero .gc-chip {
	background: rgba(255, 253, 249, 0.16);
	color: var(--gc-hvid, #fffdf9);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

/* ------------------------------------------------------------------ */
/* Indledning                                                          */
/* ------------------------------------------------------------------ */

.gc-intro p,
.gc-tekst p {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.65;
	color: var(--gc-tekst, #26302a);
}

.gc-tekst > :first-child {
	margin-top: 0;
}

.gc-tekst h3 {
	margin: 1.6em 0 0.45em;
	font-size: clamp(20px, 2.6vw, 24px);
	line-height: 1.25;
	color: var(--gc-tekst, #26302a);
}

.gc-tekst h4 {
	margin: 1.4em 0 0.4em;
	font-size: 18px;
	color: var(--gc-tekst, #26302a);
}

.gc-tekst ul,
.gc-tekst ol {
	max-width: 760px;
	margin: 0 0 1.2em;
	padding-left: 1.3em;
	font-size: 17px;
	line-height: 1.6;
	color: var(--gc-tekst, #26302a);
}

.gc-tekst li + li {
	margin-top: 0.45em;
}

.gc-tekst a {
	color: var(--gc-skov, #2f4a3a);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.gc-tekst a:hover,
.gc-tekst a:focus {
	color: var(--gc-skov-moerk, #1f3329);
}

/* Resten af destinationsteksten (efter stederne). */
.gc-oplev .gc-tekst {
	max-width: 860px;
	padding: 24px 20px 8px;
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-hvid, #fffdf9);
	box-shadow: var(--gc-skygge, 0 6px 20px rgba(38, 48, 42, 0.08));
}

.gc-intro-grid {
	display: grid;
	gap: 24px;
}

.gc-boks {
	align-self: start;
	padding: 20px 22px 22px;
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-sand, #ede4d3);
}

.gc-boks__titel {
	margin: 0 0 10px;
	font-size: 18px;
}

.gc-boks .gc-chips + .gc-boks__titel {
	margin-top: 20px;
}

.gc-boks__fakta {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.gc-boks__fakta li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(38, 48, 42, 0.1);
}

.gc-boks__fakta li:last-child {
	border-bottom: 0;
}

.gc-boks__fakta strong {
	color: var(--gc-tekst, #26302a);
}

.gc-boks__knap {
	display: block;
	text-align: center;
}

/* Hop rundt på destinationssiden. */
.gc-hop {
	position: relative;
	z-index: 5;
	background: var(--gc-hvid, #fffdf9);
	border-bottom: 1px solid var(--gc-kant, #e2dacb);
}

.gc-hop ul {
	display: flex;
	gap: 6px;
	margin: 0 auto;
	padding-top: 10px;
	padding-bottom: 10px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.gc-hop ul::-webkit-scrollbar {
	display: none;
}

.gc-hop a {
	display: block;
	padding: 7px 14px;
	border-radius: 999px;
	color: var(--gc-tekst, #26302a);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.gc-hop a:hover,
.gc-hop a:focus {
	background: var(--gc-salvie-lys, #dde5d6);
	color: var(--gc-skov, #2f4a3a);
}

/* Højdepunkter. */
.gc-hoejdepunkter {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-hoejdepunkter li {
	position: relative;
	padding: 14px 16px 14px 46px;
	border: 1px solid var(--gc-kant, #e2dacb);
	border-radius: var(--gc-radius-lille, 10px);
	background: var(--gc-hvid, #fffdf9);
	line-height: 1.55;
}

.gc-hoejdepunkter li::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 18px;
	width: 14px;
	height: 14px;
	border-radius: 50% 50% 50% 0;
	background: var(--gc-okker, #c9973f);
	transform: rotate(-45deg);
}

.gc-hoejdepunkter strong {
	display: block;
	color: var(--gc-tekst, #26302a);
}

/* ------------------------------------------------------------------ */
/* Kort                                                                */
/* ------------------------------------------------------------------ */

.gc-kortramme {
	position: relative;
	height: 360px;
	overflow: hidden;
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-salvie-lys, #dde5d6);
	box-shadow: var(--gc-skygge, 0 6px 20px rgba(38, 48, 42, 0.08));
}

.gc-kortramme #job_listings-map-canvas {
	width: 100%;
	height: 100%;
	min-height: 0;
}

.gc-kortramme__status {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 5;
	margin: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.94);
	color: var(--gc-tekst, #26302a);
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(38, 48, 42, 0.12);
	transform: translateX(-50%);
	white-space: nowrap;
}

.gc-kortramme__status[hidden] {
	display: none;
}

.gc-kortramme--fejl .gc-kortramme__status {
	white-space: normal;
	width: calc(100% - 28px);
	text-align: center;
	border-radius: var(--gc-radius-lille, 10px);
}

.gc-kort__note {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--gc-tekst-bloed, #4a554d);
}

/* ------------------------------------------------------------------ */
/* Stedkort (Listifys kort-markup)                                     */
/* ------------------------------------------------------------------ */

ul.job_listings.gc-kortliste {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.job_listings.gc-kortliste::before,
ul.job_listings.gc-kortliste::after {
	display: none;
}

ul.job_listings.gc-kortliste > li.listing-card {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	opacity: 1;
}

.gc-kortliste .content-box {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-hvid, #fffdf9);
	box-shadow: var(--gc-skygge, 0 6px 20px rgba(38, 48, 42, 0.08));
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gc-kortliste .content-box:hover,
.gc-kortliste .content-box:focus-within {
	box-shadow: var(--gc-skygge-loeft, 0 16px 36px rgba(38, 48, 42, 0.14));
	transform: translateY(-2px);
}

.gc-kortliste .job_listing-entry-header,
.type-job_listing.style-grid.gc-kort .job_listing-entry-header {
	position: relative;
	height: 200px;
	padding: 0;
	border-radius: 0;
	background: linear-gradient(150deg, var(--gc-mos, #5b6e45) 0%, var(--gc-skov, #2f4a3a) 100%);
}

.gc-kort__billede {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.gc-kortliste .listing-cover.has-image::after {
	z-index: 5;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(20, 32, 25, 0) 38%, rgba(20, 32, 25, 0.76) 100%);
}

.gc-kortliste .job_listing-entry-header-wrapper,
.type-job_listing.style-grid.gc-kort .job_listing-entry-header-wrapper {
	position: absolute;
	right: 16px;
	bottom: 14px;
	left: 16px;
	z-index: 10;
}

.gc-kortliste .job_listing-title {
	margin: 0;
	font-size: 19px;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 6px rgba(20, 32, 25, 0.4);
}

.gc-kortliste .job_listing-title a {
	color: inherit;
	text-decoration: none;
}

.gc-kortliste .job_listing-location {
	margin-top: 4px;
	font-size: 14px;
	color: rgba(255, 253, 249, 0.9);
}

.gc-kortliste .listing-featured-badge {
	display: inline-block;
	margin-bottom: 6px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--gc-okker, #c9973f);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.gc-kortliste .job_listing-entry-footer,
.type-job_listing.style-grid.gc-kort .job_listing-entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	min-height: 0;
	padding: 12px 16px 14px;
}

.gc-kort__maerker,
.gc-kort__faciliteter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-maerke {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--gc-salvie-lys, #dde5d6);
	color: var(--gc-skov, #2f4a3a);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.gc-maerke--gratis {
	background: var(--gc-skov, #2f4a3a);
	color: #fff;
}

.gc-maerke--lys {
	background: var(--gc-sand, #ede4d3);
	color: var(--gc-tekst, #26302a);
}

.gc-kort__faciliteter {
	margin-left: auto;
}

.gc-kort__faciliteter li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gc-sand, #ede4d3);
	color: var(--gc-skov, #2f4a3a);
	font-size: 15px;
}

.gc-kort__faciliteter .gc-kort__flere {
	font-size: 12px;
	font-weight: 700;
}

.gc-kort__stjerner {
	font-weight: 700;
	color: var(--gc-tekst, #26302a);
}

.gc-kort__stjerner .ion-ios-star {
	color: var(--gc-okker, #c9973f);
}

/* ------------------------------------------------------------------ */
/* Grupper, links og artikler                                          */
/* ------------------------------------------------------------------ */

.gc-gruppe + .gc-gruppe {
	margin-top: 36px;
}

/* På mobilen vises tre steder pr. type; "Se alle" fører videre til kortsøgningen. */
@media (max-width: 599px) {
	.gc-gruppe ul.gc-kortliste > li:nth-child(n+4) {
		display: none;
	}
}

.gc-gruppe__hoved {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin-bottom: 14px;
}

.gc-gruppe__titel {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 22px;
}

.gc-gruppe__antal {
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--gc-salvie-lys, #dde5d6);
	color: var(--gc-skov, #2f4a3a);
	font-family: var(--gc-font-tekst, sans-serif);
	font-size: 14px;
	font-weight: 700;
}

.gc-linkgrupper {
	display: grid;
	align-items: start;
	gap: 18px;
}

.gc-linkgruppe {
	padding: 18px 20px;
	border: 1px solid var(--gc-kant, #e2dacb);
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-hvid, #fffdf9);
}

.gc-linkgruppe__titel {
	margin: 0 0 8px;
	font-size: 18px;
}

.gc-linkliste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-linkliste li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--gc-kant, #e2dacb);
}

.gc-linkliste li:last-child {
	border-bottom: 0;
}

.gc-linkliste a {
	font-weight: 600;
	text-decoration: none;
}

.gc-linkliste span {
	flex: 0 0 auto;
	font-size: 14px;
	color: var(--gc-tekst-bloed, #4a554d);
	white-space: nowrap;
}

.gc-artikler {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-artikel a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-hvid, #fffdf9);
	box-shadow: var(--gc-skygge, 0 6px 20px rgba(38, 48, 42, 0.08));
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gc-artikel a:hover,
.gc-artikel a:focus {
	box-shadow: var(--gc-skygge-loeft, 0 16px 36px rgba(38, 48, 42, 0.14));
	transform: translateY(-2px);
}

.gc-artikel__billede {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.gc-artikel__billede--tom {
	background: linear-gradient(150deg, var(--gc-salvie, #a9b8a0) 0%, var(--gc-mos, #5b6e45) 100%);
}

.gc-artikel__tekst {
	display: block;
	padding: 14px 16px 18px;
}

.gc-artikel__titel {
	display: block;
	margin-bottom: 6px;
	font-family: var(--gc-font-overskrift, serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gc-tekst, #26302a);
}

.gc-artikel__uddrag {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--gc-tekst-bloed, #4a554d);
}

/* ------------------------------------------------------------------ */
/* Kilder og kreditering                                               */
/* ------------------------------------------------------------------ */

.gc-kilder {
	margin: 48px 0 40px;
	padding-top: 18px;
	border-top: 1px solid var(--gc-kant, #e2dacb);
	font-size: 14px;
	line-height: 1.6;
	color: var(--gc-tekst-bloed, #4a554d);
}

.gc-kilder__titel {
	margin: 0 0 8px;
	font-size: 18px;
}

.gc-kilder__liste,
.gc-kilder__liste ul {
	margin: 0 0 12px;
	padding-left: 18px;
}

div.gc-kilder__liste {
	padding-left: 0;
}

div.gc-kilder__liste ul {
	margin: 0;
}

.gc-kilder__liste li {
	break-inside: avoid;
	overflow-wrap: anywhere;
}

.gc-kilder a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

/* ------------------------------------------------------------------ */
/* Links fra typens og områdets arkiv                                  */
/* ------------------------------------------------------------------ */

.gc-arkivlinks {
	margin: 32px 0 24px;
	padding: 20px;
	border: 1px solid var(--gc-kant, #e2dacb);
	border-radius: var(--gc-radius, 14px);
	background: var(--gc-hvid, #fffdf9);
}

.gc-arkivlinks__titel {
	margin: 0 0 12px;
	font-size: 20px;
}

/* ------------------------------------------------------------------ */
/* Større skærme                                                       */
/* ------------------------------------------------------------------ */

@media (min-width: 600px) {
	ul.job_listings.gc-kortliste,
	.gc-artikler {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (min-width: 768px) {
	.gc-hero {
		min-height: 340px;
		padding: 40px 0 44px;
	}

	.gc-hero--stor {
		min-height: 440px;
	}

	.gc-sektion {
		margin: 56px 0;
	}

	.gc-kortramme {
		height: 480px;
	}

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

	.gc-oplev .gc-tekst {
		padding: 32px 36px 16px;
	}

	ul.gc-kilder__liste,
	.gc-kilder__liste ul {
		columns: 2;
		column-gap: 36px;
	}
}

@media (min-width: 992px) {
	ul.job_listings.gc-kortliste,
	.gc-artikler {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gc-intro-grid {
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
		gap: 40px;
	}

	.gc-intro-grid .gc-boks {
		position: sticky;
		top: 100px;
	}

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

	.gc-kortramme {
		height: 540px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-kortliste .content-box,
	.gc-artikel a,
	.gc-pil-link::after {
		transition: none;
	}

	.gc-kortliste .content-box:hover,
	.gc-artikel a:hover {
		transform: none;
	}
}
