/**
 * Content
 */

body {
	background-color: #fbfbf4;
	color: #fbfae8;
}

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.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.35);
	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;	
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 3rem;
	color: #fff;
	font-family: Courier, "Courier New", monospace, Courier, Icons;
	line-height: 1.2;
	font-style: normal;
	font-weight: normal;
}

[data-predefined-style="true"] bodycopy a {
	color: #000;
	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: Courier, "Courier New", monospace, Courier, Icons;
	font-style: normal;
	font-weight: normal;
	padding: 0;
	margin: 0;
	font-size: 3rem;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.85);
	}

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

[data-predefined-style="true"] h2 {
	font-family: "Favorit Variable", Icons;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.85);
	font-size: 1.2rem;
	line-height: 1.2;
	font-style: normal;
	font-weight: 300;
	font-variation-settings: 'slnt' 0;
	}

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

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.3;
	font-family: Courier, "Courier New", monospace, Courier, Icons;
	color: rgb(255, 255, 255);
	font-style: normal;
	font-weight: normal;
}

[data-predefined-style="true"] small a {
	color: rgb(0, 0, 0);
	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(33, 33, 33)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 60%/*!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: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

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

[data-css-preset] .thumbnails {
   	background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 1%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: 0rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

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

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: .3rem;
    font-size: 1.8rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.85);
	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.1;
}

.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.35);
	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;
}

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

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

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 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: 2rem /*!site_menu_button*/;
	right: 2rem /*!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(0, 0, 0, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 2rem /*!shop_button*/;
	right: 2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 2rem;
    padding: 0;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
}

#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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 2rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
    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(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 2.5rem .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, 0.7);
    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(0, 0, 0, 0.85) /*!quick_view_bgcolor*/;
}

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

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,.5);
    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: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

.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: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * 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: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/**
 * Feed
 */

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

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



/*
 * Audio Player
 */

.audio-player {
    max-width: 30rem;
    height: 2.5rem;
    outline: 1px solid rgba(0, 0, 0, 1);
    color: rgba(38, 38, 38, 1);
    background: #f5f5f5;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: Courier, "Courier New", monospace, Courier, Icons;
    font-style: normal;
    font-weight: normal;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

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

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: #fff;
    cursor: pointer;
    fill: rgba(0, 0, 0, 1);
}

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

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

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

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 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, 1);
}

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

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

/* Main table styling */
.custom-data-table {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px; /* Base font size */
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* General cell styling with top alignment */
.custom-data-table td {
  border: 1px solid #fff;
  padding: 5px;
  text-align: left;    /* Left-align text */
  vertical-align: top; /* Content starts at the top */
  background: transparent;
}

/* Image cell: no fixed height so it stretches with the table */
.image-cell {
  width: 120px;
  padding: 5px;
  box-sizing: border-box;
  /* The cell will expand with the rowspan to match the overall table height */
}

/* Inner container to fill the image cell and center its content */
.image-container {
  height: 100%;
  display: flex;
  align-items: center;       /* Centers image vertically */
  justify-content: center;   /* Centers image horizontally */
  padding: 0; /* Adjust as needed */
}

/* Fixed image: remains 120x120 and is slightly shifted if needed */
.fixed-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  transform: translateY(2px);
}

/* Narrow column styling */
.narrow-column {
  width: 80px;
  max-width: 80px;
  font-weight: bold;
}

/* Wide column styling */
.wide-column {
  width: 300px;
  word-wrap: break-word;
}

/* Media queries for responsive scaling */
@media screen and (max-width: 768px) {
  .custom-data-table td {
    padding: 0.2rem;
    font-size: 14px;
  }
  .narrow-column {
    width: 18%;
    max-width: 90px;
  }
}

@media screen and (max-width: 480px) {
  .custom-data-table td {
    padding: 0.15rem;
    font-size: 12px;
  }
  .narrow-column {
    width: 18%;
    max-width: 70px;
  }
}

body .table-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 1px;
    background: transparent;
}

/* ——— Desk Table Container ——— */
.desk-table-container {
  width: 100%;
  max-width: 600px;       /* same as audio */
  margin: 2rem auto;      /* 2rem top/bottom, auto left/right */
  padding: 0 1rem;        /* same inner gutter */
  background: transparent;
}



body .cargo-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent; /* Changed from #f5f6f8 */
    margin: 0 auto;
    border: 1px solid #000;
    table-layout: fixed;
}



body .cargo-table td {
    width: auto;
    height: auto;
    padding: 0.2rem;
    border: 1px solid #fff !important;
    text-align: center;
    vertical-align: top;
    min-width: 50px;
    min-height: 20px;
    word-wrap: break-word;
    background: transparent; /* Added for transparency */
}

body .cargo-table .color-column {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    background: inherit; /* This preserves explicitly set background colors */
}

body .cargo-table .color-column .cell-content {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: inherit; /* This preserves the color column backgrounds */
}

body .cargo-table .narrow-column {
    width: 12%;
    min-width: unset;
    max-width: 120px;
    background: transparent; /* Added for transparency */
}

/* Ensure all content containers are transparent */
body .cargo-table td div {
    background: transparent;
}

body .cargo-table td div h1 {
    background: transparent;
    margin: 0;
    padding: 0;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    body .cargo-table .narrow-column {
        width: 15%;
        max-width: 80px;
    }
    
    body .cargo-table td {
        padding: 0.1rem;
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    body .cargo-table .narrow-column {
        width: 15%;
        max-width: 60px;
    }
}

.home-navigation .cargo-table tr:hover .color-column .cell-content {
    background-color: #fefff5 !important;
}

/* Default state for the header color cell */
.music-table .header-color-cell .cell-content,
.music-table-2 .header-color-cell .cell-content {
    transition: background-color 0s ease;
}

/* Unique hover colors for first table */
.music-table .row-1:hover .color-row-1 .cell-content {
    background-color: #fefff5 !important;
}

.music-table .row-2:hover .color-row-2 .cell-content {
    background-color: #fefff5 !important;
}

.music-table .row-3:hover .color-row-3 .cell-content {
    background-color: #fefff5 !important;
}

/* Unique hover colors for second table */
.music-table-2 .row-1:hover .color-row-1 .cell-content {
    background-color: #fefff5 !important;
}

.music-table-2 .row-2:hover .color-row-2 .cell-content {
    background-color: #326FA8 !important;
}

.music-table-2 .row-3:hover .color-row-3 .cell-content {
    background-color: rgba(200, 100, 255, 0.85) !important;
}

/* Ensure first row color columns update correctly */
.music-table-2 .row-1:hover ~ .row-1 .color-row-1 .cell-content {
    background-color: #277f1e !important;
}

/* Prevent link color change and text decoration on hover */
a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Ensure the link in the middle cell takes full clickable space without layout change */
.text-cell {
    position: relative;
}

/* Add the link as a block level element that takes full width and height of the cell */
.text-cell a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* Ensure no squishing or layout issues */
.text-cell a:hover {
    cursor: pointer;
}


.home-navigation .color-column .cell-content a,
.home-navigation .text-cell a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.home-navigation .text-cell {
    position: relative;
}

.home-navigation .text-cell a.cell-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Expandable table specific styles */
.expandable-cargo-table .expandable-row {
    display: none;
    transition: all 0.3s ease;
}

.expandable-cargo-table .main-row {
    cursor: pointer;
}

.expandable-cargo-table .main-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Restore hover effect for color column */
.expandable-cargo-table tr:hover .color-column .cell-content {
    background-color: #fefff5 !important;
}

.content-wrapper {
    display: flex;
    width: 100%;
    gap: 40px; /* Increased gap between text and table */
    position: relative;
}

.text-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px; /* Matches table height (3 rows × 100px) */
    padding: 0; /* Removed padding to align with table rows */
}

.text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text vertically within its row space */
    margin: 0; /* Removed margin to align with table rows */
}

.nick-title {
  position: relative; /* Establish a containing block for absolute positioning */
}

.nick-title .cell-content {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 100%;
}

body .cargo-table.base-grid td {
    width: 4.166666667%;  /* 100% ÷ 24 columns */
    padding: 0;
    position: relative;
    border: 1px solid #000;
    background: transparent;
    text-align: center;
}

/* This ensures square shape */
body .cargo-table.base-grid td::before {
    content: '';
    display: block;
    padding-top: 100%;
}

/* Text container */
body .cargo-table.base-grid td span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2em; /* Increased from 0.9em */
    line-height: 1; /* Added to reduce vertical spacing */
    margin: 0; /* Ensure no margin */
}

body .cargo-table.base-grid td {
    width: 4.166666667%;  /* 100% ÷ 24 columns */
    padding: 0;
    position: relative;
    border: 1px solid #000;
    background: transparent;
    text-align: center;
}

body .cargo-table.base-grid td::before {
    content: '';
    display: block;
    padding-top: 100%;
}

body .cargo-table.base-grid td span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2em;
    line-height: 1;
    margin: 0;
}

body .cargo-table.base-grid td[colspan="4"] {
    height: 0;
    padding-bottom: 4.166666667%;  /* Same as regular cell width */
}

body .cargo-table.base-grid td[colspan="4"] span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Interactive Piano Grid Styles */
.piano-grid {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
}

.piano-grid td {
    width: 33.333%;
    padding: 0;
    position: relative;
    border: 1px solid #fff;
    background: transparent;
    box-sizing: border-box;
}

.piano-grid td::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.piano-cell {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.piano-cell img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.piano-cell img.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.piano-cell img.fade-out {
    opacity: 0;
    transition: opacity 3s ease-out;
}

.piano-cell.active img {
    opacity: 1;
    transition: none;
}

.piano-cell audio {
    display: none;
}

.grid-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#title-display {
    position: relative;
    width: 300px;
    height: 30px;
    border: 1px solid #fff;
    margin: 20px 0;
    background: transparent;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

#title-display p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
}

.piano-grid {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .grid-container {
        padding: 0 15px;
    }
    
    #title-display {
        width: 100%;
        min-height: 30px;
    }
    
    .piano-grid {
        width: 100%;
    }
}

/* Default background for first and third column cells when not hovered */
.photo-table tr:not(:hover) td.color-column > .cell-content {
    background-color: #252525;
}

/* Hover effect for row 1 */
.photo-table .row-1:hover td.color-column > .cell-content {
    background-color: #fefff5 !important;
}

/* Hover effect for row 2 */
.photo-table .row-2:hover td.color-column > .cell-content {
    background-color: #fefff5 !important;
}

/* Hover effect for row 3 */
.photo-table .row-3:hover td.color-column > .cell-content {
    background-color: #fefff5 !important;
}

/* Ensure links in the text cell take full clickable space */
.text-cell {
    position: relative;
}
.text-cell a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ——— Audio Grid Container ——— */
.audio-grid-container {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ——— Table Layout ——— */
.audio-grid-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000;
  table-layout: fixed;
}

.audio-grid-table tr {
  border: 1px solid #000;
}

.audio-grid-table td {
  border: 1px solid #fff;
  padding: 0;
}

/* ——— Player Cell ——— */
.player-cell {
  width: 50px;
  height: 35px;
  position: relative;
}

.play-button {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  color: #ffffca;
  -webkit-appearance: none;
  appearance: none;
}

.play-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ——— Color Cell ——— */
.color-cell {
  width: 50px;
  height: 35px;
  transition: background-color 0.3s ease;
}

/* Active state for tracks 0–10 */
.color-cell[data-track="0"].active,
.color-cell[data-track="1"].active,
.color-cell[data-track="2"].active,
.color-cell[data-track="3"].active,
.color-cell[data-track="4"].active,
.color-cell[data-track="5"].active,
.color-cell[data-track="6"].active,
.color-cell[data-track="7"].active,
.color-cell[data-track="8"].active,
.color-cell[data-track="9"].active,
.color-cell[data-track="10"].active {
  background-color: rgba(255, 255, 255, 1);
}

/* ——— Title Cell Base ——— */
.title-cell {
  position: relative;
  overflow: hidden;
  height: 35px;
  padding: 0 1.5rem;
  text-align: left;
}

/* Title text (no longer moves itself) */
.title-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* ——— Traditional Progress Bar Elements ——— */
/* semi‑opaque fill to the left of the indicator */
.title-cell .progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transition: width 0.1s linear;
}

/* thin vertical indicator */
.title-cell .progress-indicator {
  position: absolute;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  display: none;
  pointer-events: none;
}

/* Container fixed size */
.table-container.fixed-size {
     
  width: 600px;       /* fixed width for entire table container */
  max-width: 800px;
  overflow: visible;  /* allow overflow if needed */
}

/* Fix table width and layout */
.table-container.fixed-size table.cargo-table {
    
  width: 600px;       /* fixed table width */
  table-layout: fixed; /* columns use fixed widths */
  border-collapse: collapse;
    
}

/* Fix first two columns to 50% of 800px (400px) */
.table-container.fixed-size td {
    
  height: 21px;       /* fixed height example */
  overflow: hidden;   /* prevent content resizing cell */
  vertical-align: middle;
}

.table-container.fixed-size td:nth-child(1),
.table-container.fixed-size td:nth-child(2) {
    
  width: 300px;
  max-width: 400px;
}

/* For the color column, fixed width too */
.table-container.fixed-size td.color-column {
  width: 20px;
  max-width: 100px;
}

/* Make sure cell-content div fills cell */
.table-container.fixed-size .cell-content {
    
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.fixed-frame {
  width: 600px;        /* match table width */
  max-width: 600px;
  margin: 0 auto;      /* center on page */
  position: relative;
}

.fixed-frame {
  width: 600px;        /* match top table width */
  max-width: 600px;
  margin: 0 auto;      /* center on page */
  position: relative;
}

.fixed-frame-2 {
  width: 600px;        /* match table width */
  max-width: 600px;
  margin: 00 auto;      /* center on page */
  position: relative;
}

.fixed-frame-2 {
  width: 600px;        /* match top table width */
  max-width: 600px;
  margin: 0 auto;      /* center on page */
  position: relative;
}

/* Force table grid (border) color */
.table-container.fixed-size table.cargo-table td,
.table-container.fixed-size table.cargo-table th {
  border-color: #000 !important;  /* Change 'red' to your color */
}

@media screen and (max-width: 768px) {
  /* --- Tables (covers fixed-size, fixed-size-2, and any future numbered versions) --- */
  .table-container[class*="fixed-size"] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .table-container[class*="fixed-size"] table.cargo-table {
    width: 100%;
    table-layout: auto;
  }

  .table-container[class*="fixed-size"] h1,
  .table-container[class*="fixed-size"] small {
    font-size: clamp(12px, 4vw, 18px);
  }

  /* --- Fixed frames --- */
  .fixed-frame {
    width: 100%;
    max-width: 100%;
  }
    
     /* --- Fixed frames --- */
  .fixed-frame-2 {
    width: 100%;
    max-width: 100%;
  }

  /* --- Image fix for fixed-image-a --- */
  media-item[hash*="8a3bad7041cd4e587f287c8b3075a793529983d0995e22fc4b2b6e1ceae24a75"] {
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  .fixed-image-a {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}

/* Personnel wrapper: 3-column grid (name | divider | description) */
.personnel-wrapper {
  display: grid;
  grid-template-columns: minmax(140px, 236px) 1px 1fr; /*was 140,180*/ 
  max-width: 600px;
  margin-bottom: 0em;
}



/* Left column (name) */
.personnel-col.name {
  padding-right: 0.5em;
  white-space: nowrap;
  overflow: visible;
}

/* Divider (invisible or visible line) */
.personnel-divider {
  background: transparent; /* change to #000 for visible divider */
  width: 1px;
}

/* Right column (description) */
.personnel-col.desc {
  padding-left: 0.5em;
  overflow-wrap: normal;
  white-space: normal;
}

@media screen and (max-width: 400px) {
  .personnel-wrapper {
    grid-template-columns: minmax(40%, 48%) 1px 1fr;
  }
}


/* Container fixed size */
.table-container.fixed-size-2 {
     
  width: 600px;       /* fixed width for entire table container */
  max-width: 800px;
  overflow: visible;  /* allow overflow if needed */
}

/* Fix table width and layout */
.table-container.fixed-size-2 table.cargo-table {
    
  width: 600px;       /* fixed table width */
  table-layout: fixed; /* columns use fixed widths */
  border-collapse: collapse;
    
}

/* Fix first two columns to 50% of 800px (400px) */
.table-container.fixed-size-2 td {
    
  height: 21px;       /* fixed height example */
  overflow: hidden;   /* prevent content resizing cell */
  vertical-align: middle;
}

.table-container.fixed-size-2 td:nth-child(1),
.table-container.fixed-size-2 td:nth-child(2) {
    
  width: 300px;
  max-width: 400px;
}

/* For the color column, fixed width too */
.table-container.fixed-size-2 td.color-column {
  width: 20px;
  max-width: 100px;
}

/* Make sure cell-content div fills cell */
.table-container.fixed-size-2 .cell-content {
    
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Force table grid (border) color */
.table-container.fixed-size-2 table.cargo-table td,
.table-container.fixed-size-2 table.cargo-table th {
  border-color: #7a7a7a !important;  /* Change 'red' to your color */
}


/* Individual image control */
.fixed-image-a {
  width: 601px;        /* fixed width for 35mm style */
  height: 601px;
  object-fit: cover;
  display: block;
  margin: 2px 0;      /* spacing between images */
}

.fixed-image-b {
  width: 300px;        /* fixed width for 35mm style */
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 2px 0;      /* spacing between images */
}

.fixed-image-c {
  width: 300px;        /* fixed width for 35mm style */
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 2px ;      /* spacing between images */
}

.fixed-image-d {
  width: 300px;        /* fixed width for 35mm style */
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 2px ;      /* spacing between images */
}

.fixed-image-e {
  width: 300px;        /* fixed width for 35mm style */
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 2px ;      /* spacing between images */
}

.fixed-size-photo {
  display: block;
  margin: 0 auto;
  width: 600px; /* lock the width */
  max-width: 600px;
}

/* Responsive rule for small screens */
@media screen and (max-width: 768px) {
  .fixed-image-a,
  .fixed-image-b,
  .fixed-image-c,
  .fixed-image-d,
  .fixed-image-e,
  .fixed-size-photo {
    max-width: 100%;   /* shrink to fit container/viewport */
    height: auto;      /* keep aspect ratio */
  }
}

.audio-button {
  cursor: pointer;
  text-align: center;
  color: white;
  font-size: 24px;
  line-height: 1;
  user-select: none;
}

.audio-button:hover {
  background-color: #444;
}