/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

::selection {
  background-color: #C0FFBB;
  color: #000000;
}

::-moz-selection {
  background-color: #C0FFBB;
  color: #000000;
}

html,
body {
  height: 100%;
  overflow-y: scroll;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    line-height: 3.5vh;
}

/* Full-width paragraph override */
p.full-width {
    width: 100%;
    max-width: none;
}

/* Half-width paragraph block */
p.half-width {
    width: 50vw;
    max-width: 600px; /* Optional: set a maximum width for readability */
    margin: 1em auto; /* Center the paragraph horizontally */
}

/* Alternative: half-width paragraph aligned to left */
p.half-width-left {
    width: 50vw;
    max-width: 600px;
    margin: 1em 0;
}

/* Alternative: half-width paragraph aligned to right */
p.half-width-right {
    width: 50vw;
    max-width: 600px;
    margin: 1em 0 1em auto;
}

@font-face {
    font-family: 'NewEdge666Test';
    src: url('../fonts/NewEdge666Test-Light.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewEdge666Test';
    src: url('../fonts/NewEdge666Test-LightSlanted.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'NewEdge666Test', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    background: #fff;
    font-size: 1rem;
    position: relative;
    min-height: 100vh;
}

.home-page {
    /* The background image is now set via inline style in PHP for correct path resolution. */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure content is above background image */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 100vw;
    font-size: 1rem;
    line-height: 1.2;
}

.container nav {
    width: 100%;
}

h1 {
    font-weight: normal;
    margin-bottom: 10px;
    font-size: 1rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 20px 2vh 20px;
    z-index: 1000;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a, .nav-right a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 0.7;
}

.nav-right a.current {
    opacity: 0.7;
    font-weight: normal;
}

.logo {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.logo a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: 0;
}

.logo a:hover {
    opacity: 0.7;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

nav li {
    margin: 0;
}

nav ul a {
    display: block;
    padding: 0;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: normal;
}

nav ul a:hover {
    opacity: 0.7;
}

nav ul a.current {
    opacity: 0.7;
    font-weight: normal;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .logo {
        margin-bottom: 20px;
    }
    nav ul {
        flex-direction: row;
        gap: 20px;
    }
}

/*.content {
    padding: 20px;
}*/

.page-info-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    gap: 30px;
    align-items: center;
}

.page-info-left a,
.page-info-left span {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
}

.page-info-left a:hover {
    opacity: 0.7;
}

.page-navigation {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 30px;
    align-items: center;
}

.page-navigation a,
.page-navigation span {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
}

.page-navigation a:hover {
    opacity: 0.7;
}



/* About page specific styles */

.about-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 100vw;
    font-size: 1rem;
    line-height: 1.2;
}

.about-container nav {
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 200px calc(50vw - 200px - 30px) calc(50vw - 60px);
    width: 100%;
    row-gap: 30px;
    flex-direction: column;
    align-content: space-between;
    padding-top: 80px;
}

.about-center-wrapper {
    grid-column: 3;
    grid-row: 1;
    font-size: 1rem;
    line-height: 1.2;
}

.about-text {
    line-height: 1.2;
}

.about-text p {
    line-height: 1.2;
    margin-bottom: 1rem;
}

.profile-image-wrapper {
    grid-column: 1 / 3;
    grid-row: 1;
    position: fixed;
    left: 0;
    top: 0;
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    user-select: none;
    pointer-events: none;
    z-index: 500;
}

.profile-image-wrapper > * {
    pointer-events: auto;
}

.profile-image {
    height: 32vh;
    width: auto;
    margin: 0;
    pointer-events: none;
}

.contact-info, .website-info, .social-links, .cv-download {
    grid-column: 3;
    margin-top: 0;
    font-size: 1rem;
    padding-right: 60px;
}

.contact-info a, .website-info a, .cv-download a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.contact-info a:hover, .website-info a:hover, .cv-download a:hover {
    opacity: 0.7;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* CV blocks on About page - aligned with about text */
.cv-blocks-wrapper {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.cv-section-about {
    display: flex;
    flex-direction: column;
     /*gap: 15px;*/
}

.cv-section-header-about {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-section-title-about {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
}

.toggle-section-about {
    background: #efefef;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin-top: -3px;
    box-shadow: inset -1px -1px 2px #e0e0e0, inset 1px 1px 2px #ffffff;
}

.toggle-section-about:hover {
    opacity: 0.7;
}

.toggle-section-about:active {
    box-shadow: inset -1px -1px 3px #e0e0e0, inset 1px 1px 3px #ffffff;
}

.toggle-icon-about {
    display: none;
}

/* Circle when collapsed (folded) */
.cv-section-about.collapsed .toggle-section-about {
    background-color: #efefef;
    border: none;
    width: 13px;
    border-radius: 50%;
    box-shadow: inset -1px -1px 2px #e0e0e0, inset 1px 1px 2px #ffffff;
}

.cv-section-about.collapsed .toggle-section-about:active {
    box-shadow: inset -1px -1px 3px #e0e0e0, inset 1px 1px 3px #ffffff;
}

/* Expanded pill shape when unfolded */
.cv-section-about:not(.collapsed) .toggle-section-about {
    background-color: #efefef;
    border: none;
    width: 40px;
    border-radius: 7px;
    box-shadow: inset -2px -2px 4px #e0e0e0, inset 2px 2px 4px #ffffff;
}

.cv-section-about:not(.collapsed) .toggle-section-about:active {
    box-shadow: inset -2px -2px 6px #e0e0e0, inset 2px 2px 6px #ffffff;
}

.cv-section-content-about {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 2000px;
    opacity: 1;
}

.cv-section-about.collapsed .cv-section-content-about {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cv-entry-about {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 0;
}

.cv-entry-about.no-years {
    grid-template-columns: 1fr;
}

.cv-years-about {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.cv-entry-about:first-child .cv-years-about {
    padding-top: 10px;
}

.cv-years-about:empty {
    display: none;
}

.cv-years-about:empty + .cv-description-about {
    grid-column: 1 / -1;
    margin-left: 0;
}

.cv-description-about {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    grid-column: 2;
}

.cv-entry-about:first-child .cv-description-about {
    padding-top: 10px;
}

.cv-entry-about:last-child .cv-description-about {
    padding-bottom: 10px;
}

.cv-entry-about.no-years .cv-description-about {
    grid-column: 1;
}

.cv-description-about p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.cv-description-about em {
    font-family: 'NewEdge666Test-LightSlanted', sans-serif;
    font-style: italic;
}



/* Imprint page specific styles */

.imprint-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 100vw;
    font-size: 1rem;
    line-height: 1.2;
}

.imprint-container nav {
    width: 100%;
}

.imprint-content {
    display: grid;
    grid-template-columns: 200px calc(50vw - 200px - 30px) calc(50vw - 60px);
    width: 100%;
    row-gap: 30px;
    padding-top: 80px;
}

.imprint-text {
    grid-column: 1 / 2;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.imprint-text p {
    line-height: 1.2;
    margin-bottom: 1rem;
    white-space: nowrap;
    padding-left: 20px;
}

.privacy-text {
    grid-column: 3;
    font-size: 1rem;
    line-height: 1.2;
}

.privacy-text p {
    line-height: 1.2;
    margin-bottom: 1rem;
}



/* Work template specific styles */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

.dates {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.exhibition-text {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
}

.artists-section, .works-section {
    margin-bottom: 40px;
}

.artist-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.artist-name {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.artist-bio {
    margin-bottom: 15px;
    line-height: 1.6;
}

.artist-links a {
    display: inline-block;
    margin-right: 15px;
    color: #007bff;
    text-decoration: none;
    padding: 5px 10px;
    background: #e7f1ff;
    border-radius: 4px;
}

.artist-links a:hover {
    background: #d0e7ff;
}

.filter-buttons {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: #007bff;
    font-family: 'NewEdge666Test-Light', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.work-item {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    transition: border-color 0.3s;
}

.work-item:hover {
    border-color: #007bff;
}

.work-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.work-artists {
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.work-medium {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.work-text {
    line-height: 1.6;
}

.images-section {
    margin-top: 40px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}



/* Functional Sculptures Styles */
.sculptures-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sculptures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.sculpture-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s;
}

.sculpture-card:hover {
    opacity: 0.7;
}

.sculpture-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 15px;
}

.sculpture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sculpture-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.sculpture-year {
    color: #666;
    margin: 5px 0;
}

.sculpture-materials {
    color: #999;
    font-size: 0.9rem;
}

/* Individual Sculpture Detail Page */
.sculpture-detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    margin-bottom: 30px;
}

.back-link a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.back-link a:hover {
    opacity: 0.7;
}

.sculpture-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.image-gallery {
    display: grid;
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.sculpture-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    line-height: 1.8;
}

.detail-item.description {
    margin-top: 20px;
}

.availability-available {
    color: #28a745;
}

.availability-sold {
    color: #dc3545;
}

.availability-not-for-sale {
    color: #6c757d;
}

@media (max-width: 768px) {
    .sculptures-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .sculpture-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



/* Artworks Page Styles */
html {
    scroll-behavior: smooth;
}

.sculptures-list-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 100vw;
    font-size: 1rem;
    line-height: 1.2;
}

.sculptures-list-container nav {
    width: 100%;
}

.artworks-list-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.artworks-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.artworks-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 100%;
    width: 100%;
}

.artwork-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    position: relative;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    overflow: hidden;
}

.artwork-image {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.artwork-image img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.artwork-title {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
}

.artwork-title h2 {
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* Artwork Detail Page Styles */
.artwork-detail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.artwork-horizontal-gallery {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    height: 100vh;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.artwork-detail-image {
    flex-shrink: 0;
    height: 25vh;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artwork-detail-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.artwork-detail-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    right: 20px;
    text-align: left;
    pointer-events: none;
    z-index: 10;
}

.artwork-detail-info h1 {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.artwork-meta {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 0 5px 0;
}

.artwork-description {
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 15px;
}

.artwork-description p {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.artwork-additional-sections {
    margin-top: 20px;
    pointer-events: auto;
}

.artwork-section {
    display: flex;
    flex-direction: column;
}

.artwork-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    pointer-events: auto;
}

.artwork-section-title {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
}

.toggle-artwork-section {
    background: #efefef;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin-top: -3px;
    box-shadow: inset -1px -1px 2px #e0e0e0, inset 1px 1px 2px #ffffff;
}

.toggle-artwork-section:hover {
    opacity: 0.7;
}

.toggle-artwork-section:active {
    box-shadow: inset -1px -1px 3px #e0e0e0, inset 1px 1px 3px #ffffff;
}

.toggle-icon {
    display: none;
}

/* Circle when collapsed (folded) */
.artwork-section.collapsed .toggle-artwork-section {
    background-color: #efefef;
    border: none;
    width: 13px;
    border-radius: 50%;
    box-shadow: inset -1px -1px 2px #e0e0e0, inset 1px 1px 2px #ffffff;
}

.artwork-section.collapsed .toggle-artwork-section:active {
    box-shadow: inset -1px -1px 3px #e0e0e0, inset 1px 1px 3px #ffffff;
}

/* Expanded pill shape when unfolded */
.artwork-section:not(.collapsed) .toggle-artwork-section {
    background-color: #efefef;
    border: none;
    width: 40px;
    border-radius: 7px;
    box-shadow: inset -2px -2px 4px #e0e0e0, inset 2px 2px 4px #ffffff;
}

.artwork-section:not(.collapsed) .toggle-artwork-section:active {
    box-shadow: inset -2px -2px 6px #e0e0e0, inset 2px 2px 6px #ffffff;
}

.artwork-section-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
}

.artwork-section:not(.collapsed) .artwork-section-content {
    max-height: 2000px;
    opacity: 1;
}

.artwork-section.collapsed .artwork-section-content {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.artwork-year {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.artwork-entry:first-child .artwork-year {
    padding-top: 10px;
}

/* When there's only one child (no year), make description full width */
.artwork-entry-description:only-child {
    grid-column: 1 / -1;
}

.artwork-entry-description {
    font-family: 'NewEdge666Test-Light', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
}

.artwork-entry:first-child .artwork-entry-description {
    padding-top: 10px;
}

.artwork-entry-description p {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.artwork-description em,
.artwork-entry-description em {
    font-family: 'NewEdge666Test-LightSlanted', sans-serif;
    font-style: italic;
}

/* Links in description and entry sections */
.artwork-description a,
.artwork-entry-description a {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
}

.artwork-description a:hover,
.artwork-entry-description a:hover {
    opacity: 0.5;
}

.artwork-back {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 20;
}

.artwork-back a {
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.artwork-back a:hover {
    opacity: 0.7;
}

.artwork-video {
    position: fixed;
    bottom: 20px;
    left: 25%;
    transform: translateX(-50%);
    z-index: 20;
}

.artwork-video a {
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.artwork-video a:hover {
    opacity: 0.7;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    width: 90vw;
    height: 80vh;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.lightbox-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-slider img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.lightbox-slider img.slide-left {
    transform: translateX(-100%);
    opacity: 0;
}

.lightbox-slider img.slide-right {
    transform: translateX(100%);
    opacity: 0;
}

.lightbox-slider img.active {
    transform: translateX(0);
    opacity: 1;
}

.lightbox-caption {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    max-width: 600px;
    transition: opacity 0.3s ease;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}

.lightbox-caption.hidden {
    opacity: 0;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 0.5;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    height: 240px;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.lightbox-prev {
    left: -40px;
    background-image: url('../images/left.svg');
}

.lightbox-next {
    right: -40px;
    background-image: url('../images/right.svg');
}
