/* Card container */
.hover-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;           /* optional, can remove */
  isolation: isolate;
}

/* Image styling + gentle zoom on hover */
.hover-card > img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.5s ease;
}

/* Title overlay (pulled from the data-title attribute) */
.hover-card::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 1rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;

  /* subtle gradient so the text is readable */
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;          /* let clicks go to links underneath */
  z-index: 1;
}

/* Reveal the title on hover and keyboard focus */
.hover-card:hover::after,
.hover-card:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.hover-card:hover > img,
.hover-card:focus-within > img {
  transform: scale(1.05);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hover-card > img { transition: none; }
  .hover-card::after { transition: none; }
}

/* Mobile: no hover → keep titles visible (optional) */
@media (hover: none) {
  .hover-card::after { opacity: 1; transform: none; }
}
/**
 * Content
 */

body {
	background-color: #fdfdfd;
	color: transparent;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: .4;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

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: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 1px;
	display: block;
}

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

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
	font-weight: 400;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-style: normal;
	line-height: 1.2;	
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.7rem;
	font-weight: 345;
	color: rgba(0, 0, 255, 0.75);
	font-family: "Favorit Variable", Icons;
	font-style: normal;
	line-height: 1.3;
	font-variation-settings: 'slnt' 0;
}

[data-predefined-style="true"] bodycopy a {
	color: rgb(255, 255, 255);
	padding-bottom: 0.1em;
	border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

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

[data-predefined-style="true"] h1 {
	font-family: "Optician Sans", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 8.8rem;
	line-height: 0.6;
	color: rgba(255, 255, 255, 0.9);
	}

[data-predefined-style="true"] h1 a {
	color: rgba(255, 255, 255, 0.9);
}

[data-predefined-style="true"] h2 {
	font-family: "Space Mono", Icons;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.5rem;
	line-height: 1.4;
	font-style: normal;
	font-weight: 400;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(255, 255, 255, 0.9);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.8rem;
	line-height: 1;
	font-family: "Nitti Grotesk", Icons;
	font-style: normal;
	font-weight: 200;
	color: rgba(255, 255, 255, 0.85);
}

[data-predefined-style="true"] small a {
	color: rgba(255, 255, 255, 0.85);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */


[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

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

[data-css-preset] .container {
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: rgb(0, 5, 31)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 100%/*!content_center*/;
}

[data-css-preset] .content_padding {
	padding-top: 0rem /*!main_margin*/;
	padding-bottom: 0rem /*!main_margin*/;
	padding-left: 0rem /*!main_margin*/;
	padding-right: 0rem /*!main_margin*/;
}


[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 75rem/*!text_width*/;
}
.thumbnails .thumbnail {
	position: relative;
}

.thumbnails .thumbnail:after {
    background: #000;
    border-radius: 5px;
    position: absolute;
   top: 0.175rem;
    right: .175rem;
    bottom: .175rem;
    left: .175rem;
    z-index: -1;
    content: '';
}

.thumbnails .thumbnail:hover:after {

}

.thumbnails .thumbnail .thumb_image img {
	opacity: .9;
    border-radius: 3px;
}

.thumbnails .thumbnail:hover .thumb_image img {
	opacity: 1;
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: 1.5rem;
    margin-bottom: 0rem;
    margin-left: 1rem;
    font-size: 1.5rem;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.75);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags {
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
    margin-left: 1rem;
    font-size: 1.6rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.4);
	font-family: 'Space Mono', Icons;
	font-style: normal;
	line-height: 1.2;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
	top: 3rem /*!site_menu_button*/;
	left: 3rem /*!site_menu_button*/;
}

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
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	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: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#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:rgba(255, 255, 255, 0.75);
    background: transparent;
	font-size: 36px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	right: 1.5rem /*!shop_button*/;
	top: 1.5rem /*!shop_button*/;
}

#shop_button.text {
	font-size: 1.7rem;
	line-height: 1.3;
	font-family: "Space Mono", Icons;
    padding: 0;
}

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

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

/*
 * Shop Product Widget
 */

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

.shop_product .price {
	font-family: "Space Mono", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.4rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(255,255,255,1);
    background:  rgba(255,255,255,1) url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 1rem;
    
}

.shop_product .button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 1);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
}

/*
 * Image Zoom
 */

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

/**
 * Quick View
 */

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

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


[data-css-preset] .quick-view-background {
	background: rgba(20, 20, 20, 0.95) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.8rem;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    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 {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    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;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    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 {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    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 {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    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 rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:last-child .page {
	border-bottom: 0;
}



/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    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: rgba(255, 255, 255, 0.14);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(255, 255, 255, 0.85);
}

.audio-player .icon {
    fill: rgba(255, 255, 255, 0.75);
    padding: 30%;
    width: 100%;
    margin: auto;
}

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

.audio-player .progress {
    background: rgba(255, 255, 255, 0.09);
}

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

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(255, 255, 255, 0.6);
}

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

.audio-player .total-time {
    padding-right: 1rem;
}
/* Overlay only when a title has been copied on */
.thumbnails .thumbnail[data-title] {
  position: relative;
  display: block;
  overflow: hidden;
}

.thumbnails .thumbnail .thumb_image img {
  transform: scale(1);
  transition: transform .35s ease;
}
/* === Centered hover title overlay for thumbnails === */

/* Make each thumbnail a positioning context */
.thumbnails .thumbnail[data-title] {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Gentle zoom on hover (optional) */
.thumbnails .thumbnail .thumb_image img {
  transform: scale(1);
  transition: transform .35s ease;
}
.thumbnails .thumbnail:hover .thumb_image img,
.thumbnails .thumbnail:focus-within .thumb_image img {
  transform: scale(1.05);
}

/* FULL overlay, centered text */
.thumbnails .thumbnail[data-title]::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  text-align: center;

  /* spacing so long titles don't touch edges */
  padding: 8%;

  /* font: sans + bigger size */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
               Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 80;
  font-size: clamp(1.1rem, 4vw, 2rem);
  line-height: 1.15;
  letter-spacing: .01em;
  color: #fff;

  /* semi-transparent dark veil */
  background: rgba(0,0,0,.43);

  /* fade in */
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}

/* Reveal on hover/focus */
.thumbnails .thumbnail[data-title]:hover::after,
.thumbnails .thumbnail[data-title]:focus-within::after {
  opacity: 1;
}

/* Keep original below-title hidden so we don't see duplicates */
.thumbnails .thumbnail + .title {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Optional: always show overlay on touch devices */
@media (hover: none) {
  .thumbnails .thumbnail[data-title]::after { opacity: 1; }
}

/* === Lighter, smaller menu type === */

/* Base menu (the slide-out / overlay) */
#site_menu {
  font-size: 16px;           /* was ~20px */
  line-height: 1.25;
}

/* All menu links */
#site_menu .page-link a,
#site_menu .set-link > a {
  font-weight: 200;          /* lighter */
  letter-spacing: 0.01em;
}

/* Remove bold from section headers if your template sets them */
#site_menu .set-link > a { font-weight: 300; }

/* Optional: make sub-pages a hair smaller than top level */
#site_menu .indent a {
  font-size: 0.95em;
  font-weight: 300;
}

/* Hover/active states stay subtle */
#site_menu a:hover { opacity: 0.85; }
#site_menu a.active { opacity: 0.5; }

/* Mobile: scale down a touch more */
@media (max-width: 640px) {
  #site_menu { font-size: 16px; }
}
