@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

body {
	background-color: #e4f5fa;
	color: rgba(0, 0, 0, 0.85);
	font-family: 'DM Sans', sans-serif;
}

/* ── Color & accent tokens from homepage ── */

:root {
	--ink: rgba(0, 0, 0, 0.85);
	--ink-full: rgba(0, 0, 0, 0.9);
	--paper: #fdf8f3;
	--green: #1c8c00;
	--green-light: #e8f5e3;
	--muted: #6b6b6b;
	--border: rgba(14, 14, 14, 0.12);
}

.slowFade {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 1s;
}

a {
	color: var(--green);
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}

a:active {
	color: var(--green);
}

.page a.active {
	color: var(--green);
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: 500;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: var(--border);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: .5em;
}

.gallery_image_caption {
	margin-top: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--muted);
	font-weight: 400;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	line-height: 1.4;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px;
	left: 8px;
}

/**
 * Editor styles — mapped to homepage type scale
 */

[data-predefined-style="true"] bodycopy {
	font-family: "Guyot Text", Icons;
	font-size: 15px;
	font-weight: 400;
	color: #120e0e;
	font-style: normal;
	line-height: 1.65;
}

[data-predefined-style="true"] bodycopy a {
	color: var(--ink-full);
	padding-bottom: 0.1em;
	border-bottom: 0.05em solid rgba(127, 127, 127, 0.2);
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}

[data-predefined-style="true"] bodycopy a:hover {
	color: var(--green);
	border-bottom-color: var(--green);
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

/* H1 — matches .hp-name: DM Serif Display, large, tight tracking */
[data-predefined-style="true"] h1 {
	font-family: "Young Serif", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 52px;
	line-height: 1.05;
	color: #292222;
	letter-spacing: -0.02em;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

[data-predefined-style="true"] h1 a {
	color: var(--ink);
}

[data-predefined-style="true"] h1 em {
	font-style: italic;
	color: var(--green);
}

/* H2 — matches .hp-title: DM Sans light, subtitle weight */
[data-predefined-style="true"] h2 {
	font-family: "Guyot Text", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: #362424;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

[data-predefined-style="true"] h2 a {
	color: var(--muted);
}

/* Small — matches .hp-tag / .hp-greeting: DM Sans uppercase label */
[data-predefined-style="true"] small {
	display: inline-block;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 11px;
	line-height: 1.3;
	color: var(--muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

[data-predefined-style="true"] small a {
	color: var(--ink);
	border-bottom-width: 0;
}

/**
 * Breakpoints
 */

[data-css-preset] .page {
	background-color: initial;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent;
}

[data-css-preset] .container {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

[data-css-preset] body {
	background-color: #fdf8f3;
}

[data-css-preset] .container_width {
	width: 88%;
}

/* Content padding — matches homepage .hp-left padding (44px) */
[data-css-preset] .content_padding {
	padding-top: 44px;
	padding-bottom: 44px;
	padding-left: 44px;
	padding-right: 44px;
}

[data-css-preset] text-limit {
	display: inline-block;
	max-width: 66rem;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
	background-color: transparent;
}

[data-css-preset] .thumbnails_width {
	width: 90%;
}

[data-css-preset] [thumbnails-pad] {
	padding: 1.5rem;
}

[data-css-preset] [thumbnails-gutter] {
	margin: -3rem;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
	padding: 1.25rem;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
	margin: -2.5rem;
}

.thumbnails .thumb_image {
	outline: 0px solid var(--border);
	outline-offset: -1px;
}

/* Thumbnail titles — matches .hp-tag style */
.thumbnails .title {
	margin-top: 1.2rem;
	margin-bottom: .3rem;
	font-size: 11px;
	font-weight: 500;
	color: var(--ink);
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.thumbnails .tags {
	margin-top: 1.2rem;
	margin-bottom: 0.5rem;
	font-size: 11px;
	font-weight: 400;
	color: var(--muted);
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.thumbnails .tags a {
	border-bottom: 0;
	color: var(--muted);
	text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0rem;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
	color: var(--ink);
	line-height: 1;
	font-size: 28px;
	padding: 6px;
	background: rgba(253, 248, 243, 0);
	position: fixed;
	top: 2rem;
	right: 2rem;
}

body.mobile #site_menu_button {
	margin: -6px;
	font-size: 34px;
}

#site_menu_button.custom_icon {
	width: 40px;
	height: auto;
}

#site_menu_button.active {
	display: none;
}

#site_menu {
	font-family: 'DM Sans', sans-serif;
	background: rgba(14, 14, 14, 0.96);
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: 500;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: var(--ink);
	background: transparent;
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	position: fixed;
	padding: 6px;
	top: 2rem;
	right: 2rem;
}

#shop_button.text {
	font-weight: 500;
	color: var(--ink);
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	line-height: 1.3;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0;
}

#shop_button.custom_icon {
	width: 40px;
	height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
	font-size: 36px;
}

/*
 * Shop Product Widget
 */

.shop_product {
	width: 100%;
	max-width: 22rem;
	position: relative;
	display: block;
}

.shop_product .price {
	font-family: 'DM Sans', sans-serif;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1;
	color: rgba(255, 255, 255, 1);
	display: block;
	margin-bottom: 1rem;
	font-style: normal;
	font-weight: 500;
}

.shop_product .dropdown {
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	display: inline-block;
	width: 100%;
	border: 1px solid var(--border);
	background: #fdf8f3 url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
	margin-bottom: 1rem;
	line-height: 1.2;
	padding: .7rem 2.5rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
}

/* Shop button — matches homepage .hp-link style */
.shop_product .button {
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--ink);
	color: rgba(255, 255, 255, 1);
	flex: 0 0 50%;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: .8rem 1.4rem .7rem;
	border-radius: 24px;
	transition: background 0.25s;
}

.shop_product .button:hover {
	background: var(--green);
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
	opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
	height: 100%;
	width: 100%;
}

body.mobile .quick-view {
	width: 100%;
	height: 100%;
	margin: 0;
}

[data-css-preset] .quick-view-background {
	background: rgba(253, 248, 243, 0);
}

.quick-view-caption {
	font-family: 'DM Sans', sans-serif;
	transition: 100ms opacity ease-in-out;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 3.5rem 0;
	text-align: center;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.quick-view-caption span {
	padding: 0.5rem 1rem;
	display: inline-block;
	background: rgba(14, 14, 14, 0.7);
	color: white;
}

/**
 * Quick View Navigation
 */

.quick-view-navigation .left-arrow {
	left: 10px;
}

.quick-view-navigation .right-arrow {
	right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
	height: 36px;
	width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
	stroke: #fdf8f3;
	stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}

.quick-view-navigation .close-button {
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
}

.quick-view-navigation .close-button .inner-color {
	stroke: #fdf8f3;
	stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}

/**
 * Image Gallery Navigation Arrows
 */

.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
	height: 36px;
	width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
	stroke: #fdf8f3;
	stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}

/**
 * Wallpaper Backdrop Navigation Arrows
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
	width: 36px;
	height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
	stroke: #fdf8f3;
	stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
	stroke: #000;
	stroke-width: 2.5px;
	opacity: 0.6;
}

/**
 * Feed
 */

.feed .content_container .page {
	border-top: 0px dashed var(--border);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}

/*
 * Image Drop Shadow
 */

.content img {
	box-shadow: 5px 5px 35px rgba(0, 0, 0, 0.08);
}

.no-shadow img {
	box-shadow: none !important;
}

/*
 * Audio Player
 */

.audio-player {
	max-width: 100%;
	height: 3.3rem;
	outline: 1px solid var(--border);
	color: var(--muted);
	background: transparent;
	font-size: 12px;
	line-height: 1.3;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	text-align: left;
	margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
	max-width: 100%;
}

.audio-player .separator {
	width: 1px;
	background-color: var(--border);
}

.audio-player .button {
	background: transparent;
	cursor: pointer;
	fill: var(--ink);
}

.audio-player .icon {
	fill: var(--ink);
	padding: 30%;
	width: 100%;
	margin: auto;
}

.audio-player .buffer {
	background: rgba(0, 0, 0, 0.05);
}

.audio-player .progress {
	background: rgba(0, 0, 0, 0.1);
}

.audio-player .progress-indicator {
	border: 1px solid rgba(0, 0, 0, 0.5);
	width: 1px;
	height: 100%;
	right: 0;
	position: absolute;
	cursor: ew-resize;
}

.audio-player .note-icon {
	height: 100%;
	width: 3.8rem;
	padding: 1rem;
	fill: var(--muted);
}

.audio-player .current-time {
	padding-left: 1rem;
}

.audio-player .total-time {
	padding-right: 1rem;
}