/* Karibu Experience — guía editorial /parques/. */

body.karibu-parks-guide-page {
	margin: 0;
	overflow-x: hidden;
}

main.kpg {
	--kpg-ink: #0b0b0b;
	--kpg-text: #262521;
	--kpg-muted: #686660;
	--kpg-brown: #7f5e32;
	--kpg-brown-dark: #604522;
	--kpg-sand: #f4f0e8;
	--kpg-line: #ded8ce;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--kpg-text);
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.78;
	overflow-wrap: break-word;
}

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

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

main.kpg a {
	color: var(--kpg-brown-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

main.kpg a:hover {
	color: #000;
}

main.kpg a:focus-visible,
main.kpg summary:focus-visible,
main.kpg [tabindex]:focus-visible {
	outline: 3px solid var(--kpg-brown) !important;
	outline-offset: 4px !important;
}

main.kpg section[id] {
	scroll-margin-top: 118px;
}

/* Hero */

main.kpg .kpg-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 900px);
	padding: 176px clamp(22px, 6vw, 90px) 96px;
	overflow: hidden;
	background: #111;
	color: #fff;
}

main.kpg .kpg-hero__media,
main.kpg .kpg-hero__media img,
main.kpg .kpg-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

main.kpg .kpg-hero__media {
	z-index: -3;
}

main.kpg .kpg-hero__media img {
	object-fit: cover;
	object-position: center 54%;
}

main.kpg .kpg-hero__shade {
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .28) 35%, rgba(0, 0, 0, .84) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .04) 74%);
}

main.kpg .kpg-hero__inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

main.kpg .kpg-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0 0 34px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .74);
}

main.kpg .kpg-crumbs a {
	color: #fff;
	text-decoration: none;
}

main.kpg .kpg-hero__label,
main.kpg .kpg-eyebrow {
	margin: 0 0 15px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.4;
	text-transform: uppercase;
}

main.kpg .kpg-hero__label {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #e0c39a;
}

main.kpg .kpg-hero__label::before {
	content: "";
	width: 44px;
	height: 1px;
	background: currentColor;
}

main.kpg .kpg-hero h1 {
	max-width: 1080px;
	margin: 0;
	font-family: inherit;
	font-size: clamp(44px, 6.4vw, 92px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: .98;
	color: #fff;
	text-wrap: balance;
}

main.kpg .kpg-hero__deck {
	max-width: 780px;
	margin: 28px 0 0;
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, .92);
}

main.kpg .kpg-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	max-width: 900px;
	margin: 34px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .11em;
	line-height: 1.5;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .8);
}

main.kpg .kpg-hero__credit {
	position: absolute;
	right: 18px;
	bottom: 14px;
	margin: 0;
	font-size: 10px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .68);
}

main.kpg .kpg-hero__credit a {
	color: inherit;
}

/* Long-read layout */

main.kpg .kpg-shell {
	display: grid;
	grid-template-columns: 250px minmax(0, 780px);
	gap: clamp(42px, 6vw, 88px);
	justify-content: center;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 68px) 110px;
}

main.kpg .kpg-sidebar {
	position: sticky;
	top: 118px;
	align-self: start;
	max-height: calc(100vh - 142px);
	overflow-y: auto;
	scrollbar-width: thin;
}

main.kpg .kpg-sidebar summary {
	padding: 0 0 14px;
	border-bottom: 2px solid var(--kpg-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--kpg-ink);
	cursor: default;
	list-style: none;
}

main.kpg .kpg-sidebar summary::-webkit-details-marker {
	display: none;
}

main.kpg .kpg-sidebar ol,
main.kpg .kpg-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

main.kpg .kpg-sidebar li {
	border-bottom: 1px solid var(--kpg-line);
}

main.kpg .kpg-sidebar a {
	display: block;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 550;
	line-height: 1.35;
	text-decoration: none;
	color: var(--kpg-text);
}

main.kpg .kpg-sidebar a:hover {
	color: var(--kpg-brown);
}

main.kpg .kpg-sidebar__extras {
	margin-top: 18px !important;
}

main.kpg .kpg-sidebar__extras a {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--kpg-brown-dark);
}

main.kpg .kpg-article {
	min-width: 0;
}

main.kpg .kpg-article > :first-child {
	margin-top: 0;
}

main.kpg .kpg-article p,
main.kpg .kpg-article li {
	font-size: 17px;
	line-height: 1.82;
}

main.kpg .kpg-article p {
	margin: 0 0 1.35em;
}

main.kpg .kpg-article ul,
main.kpg .kpg-article ol {
	margin: 0 0 1.6em;
	padding-left: 1.35em;
}

main.kpg .kpg-article li + li {
	margin-top: .55em;
}

main.kpg .kpg-lede {
	margin-bottom: 30px !important;
	font-size: clamp(20px, 2vw, 25px) !important;
	font-weight: 500;
	letter-spacing: -.012em;
	line-height: 1.58 !important;
	color: var(--kpg-ink);
}

main.kpg .kpg-eyebrow {
	color: var(--kpg-brown);
}

main.kpg .kpg-article h2,
main.kpg .kpg-article h3 {
	font-family: inherit;
	color: var(--kpg-ink);
	text-wrap: balance;
}

main.kpg .kpg-article h2 {
	margin: 14px 0 26px;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.08;
}

main.kpg .kpg-article h3 {
	margin: 38px 0 14px;
	font-size: clamp(21px, 2.1vw, 27px);
	font-weight: 750;
	letter-spacing: -.018em;
	line-height: 1.25;
}

main.kpg .kpg-article section:not(.kpg-place) + section:not(.kpg-place),
main.kpg .kpg-place + section:not(.kpg-place) {
	margin-top: 100px;
}

main.kpg .kpg-note {
	margin: 34px 0 68px;
	padding: 25px 28px;
	border-left: 4px solid var(--kpg-brown);
	background: var(--kpg-sand);
}

main.kpg .kpg-note p:last-child {
	margin-bottom: 0;
}

/* Index and comparison */

main.kpg .kpg-park-index {
	margin: 76px 0 90px;
	padding: 38px;
	background: var(--kpg-ink);
	color: #fff;
}

main.kpg .kpg-park-index h2 {
	color: #fff;
}

main.kpg .kpg-park-index .kpg-eyebrow {
	color: #d8b886;
}

main.kpg .kpg-park-index ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

main.kpg .kpg-park-index li {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

main.kpg .kpg-park-index a {
	display: grid;
	grid-template-columns: 34px 1fr auto;
	gap: 10px;
	align-items: center;
	min-height: 56px;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
	color: #fff;
}

main.kpg .kpg-park-index a span {
	font-size: 10px;
	letter-spacing: .12em;
	color: #d8b886;
}

main.kpg .kpg-park-index a small {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .58);
}

main.kpg .kpg-table-wrap {
	max-width: 100%;
	margin-top: 32px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--kpg-line);
}

main.kpg .kpg-table-hint {
	display: none;
}

main.kpg table {
	width: 100%;
	min-width: 780px;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.55;
}

main.kpg caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

main.kpg th,
main.kpg td {
	padding: 16px 15px;
	border-bottom: 1px solid var(--kpg-line);
	vertical-align: top;
	text-align: left;
}

main.kpg thead th {
	background: var(--kpg-ink);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
}

main.kpg tbody th {
	min-width: 130px;
	font-weight: 750;
	color: var(--kpg-ink);
}

main.kpg tbody tr:nth-child(even) {
	background: #faf8f4;
}

main.kpg .kpg-divider {
	margin: 104px 0 0;
	border: 0;
	border-top: 1px solid var(--kpg-line);
}

/* Park sections */

main.kpg .kpg-place {
	margin-top: 104px;
	padding-top: 2px;
}

main.kpg .kpg-place__header {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
	margin-bottom: 34px;
}

main.kpg .kpg-place__number {
	margin: -8px 0 0 !important;
	font-size: 62px !important;
	font-weight: 250;
	letter-spacing: -.05em;
	line-height: 1 !important;
	color: #c9b99f;
}

main.kpg .kpg-place__header h2 {
	margin-bottom: 0;
}

main.kpg .kpg-figure {
	margin: 0 0 12px;
}

main.kpg .kpg-figure picture,
main.kpg .kpg-figure img {
	display: block;
	width: 100%;
}

main.kpg .kpg-figure img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: #ddd;
}

main.kpg .kpg-figure figcaption {
	margin-top: 9px;
	font-size: 10px;
	line-height: 1.55;
	color: var(--kpg-muted);
}

main.kpg .kpg-figure figcaption a {
	color: inherit;
}

main.kpg .kpg-facts {
	margin: 28px 0 42px;
	padding: 26px 28px;
	background: var(--kpg-sand);
}

main.kpg .kpg-facts dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 34px;
	margin: 0;
}

main.kpg .kpg-facts div {
	min-width: 0;
}

main.kpg .kpg-facts dt {
	margin-bottom: 5px;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--kpg-brown-dark);
}

main.kpg .kpg-facts dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--kpg-ink);
}

/* Decision and route sections */

main.kpg .kpg-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-top: 38px;
	background: var(--kpg-line);
	border: 1px solid var(--kpg-line);
}

main.kpg .kpg-choice-grid article {
	min-width: 0;
	padding: 28px;
	background: #fff;
}

main.kpg .kpg-choice-grid article:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

main.kpg .kpg-choice-grid h3 {
	margin-top: 0;
}

main.kpg .kpg-choice-grid p:last-child {
	margin-bottom: 0;
}

main.kpg .kpg-inline-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	margin-top: 42px;
	padding: 26px 28px;
	border-top: 1px solid var(--kpg-brown);
	border-bottom: 1px solid var(--kpg-brown);
}

main.kpg .kpg-inline-cta p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
}

main.kpg .kpg-inline-cta a {
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}

main.kpg .kpg-routes {
	margin-top: 38px;
	border-top: 1px solid var(--kpg-line);
}

main.kpg .kpg-routes article {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 0 25px;
	padding: 30px 0;
	border-bottom: 1px solid var(--kpg-line);
}

main.kpg .kpg-routes h3 {
	grid-column: 2;
	margin: 0 0 10px;
}

main.kpg .kpg-routes article > p:last-child {
	grid-column: 2;
	margin-bottom: 0;
}

main.kpg .kpg-route__time {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin: 6px 0 0 !important;
	font-size: 11px !important;
	font-weight: 750;
	letter-spacing: .14em;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: var(--kpg-brown);
}

main.kpg .kpg-decisions {
	margin-top: 35px;
	padding: 0;
	list-style: none;
	counter-reset: decisions;
}

main.kpg .kpg-decisions li {
	position: relative;
	margin: 0;
	padding: 22px 0 22px 60px;
	border-top: 1px solid var(--kpg-line);
	counter-increment: decisions;
}

main.kpg .kpg-decisions li::before {
	content: "0" counter(decisions);
	position: absolute;
	left: 0;
	top: 24px;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .12em;
	color: var(--kpg-brown);
}

/* FAQ and sources */

main.kpg .kpg-faq {
	border-top: 1px solid var(--kpg-line);
}

main.kpg .kpg-faq:last-of-type {
	border-bottom: 1px solid var(--kpg-line);
}

main.kpg .kpg-faq summary {
	position: relative;
	padding: 22px 52px 22px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--kpg-ink);
	cursor: pointer;
	list-style: none;
}

main.kpg .kpg-faq summary::-webkit-details-marker {
	display: none;
}

main.kpg .kpg-faq summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 15px;
	font-size: 26px;
	font-weight: 300;
	color: var(--kpg-brown);
}

main.kpg .kpg-faq[open] summary::after {
	content: "−";
}

main.kpg .kpg-faq > p {
	padding: 0 48px 22px 0;
}

main.kpg .kpg-sources {
	padding: 38px;
	background: var(--kpg-sand);
}

main.kpg .kpg-sources h2 {
	font-size: clamp(29px, 3.2vw, 40px);
}

main.kpg .kpg-sources li,
main.kpg .kpg-sources p {
	font-size: 13px;
	line-height: 1.7;
}

main.kpg .kpg-sources__date {
	margin-top: 24px !important;
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--kpg-muted);
}

@media (max-width: 1080px) {
	main.kpg .kpg-shell {
		grid-template-columns: minmax(0, 780px);
		gap: 36px;
	}

	main.kpg .kpg-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 18px 22px;
		border: 1px solid var(--kpg-line);
	}

	main.kpg .kpg-sidebar summary {
		position: relative;
		padding: 6px 36px 6px 0;
		border: 0;
		cursor: pointer;
	}

	main.kpg .kpg-sidebar summary::after {
		content: "+";
		position: absolute;
		right: 0;
		top: -2px;
		font-size: 24px;
		font-weight: 300;
		color: var(--kpg-brown);
	}

	main.kpg .kpg-sidebar details[open] summary::after {
		content: "−";
	}

	main.kpg .kpg-sidebar ol {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 22px;
		margin-top: 16px;
	}

	main.kpg .kpg-sidebar__extras {
		display: flex;
		flex-wrap: wrap;
		gap: 0 18px;
	}

	main.kpg .kpg-sidebar__extras li {
		border: 0;
	}
}

@media (max-width: 700px) {
	main.kpg {
		font-size: 16px;
	}

	main.kpg .kpg-hero {
		min-height: 760px;
		padding: 150px 20px 74px;
	}

	main.kpg .kpg-hero__media img {
		object-position: 61% center;
	}

	main.kpg .kpg-hero h1 {
		font-size: clamp(39px, 12.3vw, 54px);
		line-height: 1.01;
	}

	main.kpg .kpg-hero__deck {
		font-size: 16px;
		line-height: 1.58;
	}

	main.kpg .kpg-hero__meta {
		display: grid;
		gap: 5px;
	}

	main.kpg .kpg-hero__credit {
		right: 12px;
		bottom: 54px;
		left: 20px;
		font-size: 8px;
		text-align: right;
	}

	main.kpg .kpg-table-hint {
		display: block;
		margin: 22px 0 -18px;
		font-size: 12px;
		font-weight: 650;
		line-height: 1.45;
		color: var(--kpg-muted);
	}

	main.kpg .kpg-shell {
		padding: 44px 20px 80px;
	}

	main.kpg .kpg-sidebar ol {
		grid-template-columns: 1fr;
	}

	main.kpg .kpg-article p,
	main.kpg .kpg-article li {
		font-size: 16px;
		line-height: 1.76;
	}

	main.kpg .kpg-lede {
		font-size: 20px !important;
		line-height: 1.55 !important;
	}

	main.kpg .kpg-article h2 {
		font-size: 32px;
	}

	main.kpg .kpg-note,
	main.kpg .kpg-sources {
		padding: 22px;
	}

	main.kpg .kpg-park-index {
		margin: 58px -20px 72px;
		padding: 34px 20px;
	}

	main.kpg .kpg-park-index ol {
		grid-template-columns: 1fr;
	}

	main.kpg .kpg-park-index a {
		grid-template-columns: 32px minmax(0, 1fr) auto;
	}

	main.kpg .kpg-table-wrap::after {
		content: "Desliza para ver toda la tabla";
		display: block;
		position: sticky;
		left: 0;
		width: min(100vw - 42px, 100%);
		padding: 9px 12px;
		background: var(--kpg-sand);
		font-size: 10px;
		font-weight: 650;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--kpg-muted);
	}

	main.kpg .kpg-divider {
		margin-top: 78px;
	}

	main.kpg .kpg-place {
		margin-top: 80px;
	}

	main.kpg .kpg-place__header {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 13px;
	}

	main.kpg .kpg-place__number {
		font-size: 40px !important;
	}

	main.kpg .kpg-place__header h2 {
		font-size: 31px;
	}

	main.kpg .kpg-figure {
		margin-right: -20px;
		margin-left: -20px;
	}

	main.kpg .kpg-figure figcaption {
		padding: 0 20px;
	}

	main.kpg .kpg-figure img {
		aspect-ratio: 4 / 3;
	}

	main.kpg .kpg-facts {
		padding: 22px;
	}

	main.kpg .kpg-facts dl,
	main.kpg .kpg-choice-grid {
		grid-template-columns: 1fr;
	}

	main.kpg .kpg-choice-grid article:last-child:nth-child(odd) {
		grid-column: auto;
	}

	main.kpg .kpg-routes article {
		grid-template-columns: 1fr;
		gap: 0;
	}

	main.kpg .kpg-routes h3,
	main.kpg .kpg-routes article > p:last-child,
	main.kpg .kpg-route__time {
		grid-column: 1;
		grid-row: auto;
	}

	main.kpg .kpg-route__time {
		margin-bottom: 9px !important;
	}

	main.kpg .kpg-faq summary {
		font-size: 15px;
	}

	main.kpg .kpg-faq > p {
		padding-right: 0;
	}

	main.kpg .kpg-inline-cta {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 24px 20px;
	}

	main.kpg .kpg-inline-cta a {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html:has(body.karibu-parks-guide-page) {
		scroll-behavior: smooth;
	}
}

