.slider-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.slider-main {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider-main .slide {
    display: none;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}
.slider-main .slide.active {
    display: block;
}
.slider-main img {
    width: 100%;
}
.slider-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.slider-thumbnails .thumbnail {
    cursor: pointer;
    
}
.slider-thumbnails .thumbnail.active {
    border-color: #0073e6;
}
.slider-thumbnails img {
    width: 80px;
    height: auto;
}

.work-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.work-item {
    padding: 10px;
}

.work-item img {
    height:400px !important;
    object-fit: contain;
    margin: 0 auto;
    padding: 10px;
}

.work-title a {

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2px;
    word-spacing: 2px;
    margin: 15px 0;
}

.enquire-button {
   font-size: 11px;
   font-weight: 300;
   background:#323232;
   color: #fff;
   padding: 10px 20px;
   margin-top: 15px;
   width: 100px;
   text-transform: uppercase;

}
.enquire-button:hover {
    color:#fff;
    
}


.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
}

.lightbox-container {
    display: flex;
    width: 100%; /* Full width */
    height: auto; /* Adjust height as needed */
    max-width: none; /* Remove max-width limit */
    border-radius: 0; /* Remove border-radius for edge-to-edge effect */
    overflow: hidden;
    position: relative;
}

.lightbox-content {
    flex: 0 0 30%; 
    padding: 100px;
    background: #fff; 
    color: #323232;
    display: flex;
    flex-direction:column;
    flex-wrap: wrap;
    justify-content:center;
    align-content: flex-start;
}
.lightbox-content p {
    margin-bottom: 5px;
    font-size: 13px;
}

.lightbox-content .lightbox-title {
    font-size: 13px;
    margin-bottom: 10px;
    color: #323232;
    font-weight: 400;
}
.lightbox-content .lightbox-artist {
    font-size: 18px;
    margin-bottom: 20px;
}
.lightbox-enquiry-btn {
   font-size: 14px;
   font-weight: 500;
   background:#000;
   color: #323232;
   padding: 10px 20px;
   margin-top: 15px;
}
.lightbox-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.lightbox-image img {
    max-width: 100%;
    /*max-height: 100%;*/
    max-height: 500px;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.lightbox-nav span {
    cursor: pointer;
    color: #818181;
    font-size: 30px;
    padding: 10px;
   
}
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    color: #000;
    cursor: pointer;
}


.popup-header {
    display: flex;
    align-items: center;
    gap: 15px; /* Add space between image and title */
    margin-bottom: 20px; /* Add space below the header */
    background-color: #fafafa;
    padding: 10px;
    border: 1px solid #eee;
}

#popup-feature-image {
    width: 50px; /* Adjust image width */
    height: 50px; /* Adjust image height */
    object-fit: cover;
    border-radius: 5px;
}

#popup-title {
    margin: 0;
    font-size: 1rem; /* Make title slightly larger */
    font-weight: 300;
    color: #323232; /* Optional: add color to the title */
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow: auto; /* Allow scrolling for smaller screens */
}

.popup-content {
    background: #fff;
    margin: 10% auto; /* Adjust for better visibility */
    padding: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border-radius: 10px; /* Add rounded corners to the popup */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

.close-popup {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 50px;
    cursor: pointer;
}

form#enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Add space between form elements */
}

form#enquiry-form input,
form#enquiry-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

form#enquiry-form input:focus,
form#enquiry-form textarea:focus {
    border-color: #007bff; /* Highlight color when focused */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Subtle focus glow */
}

form#enquiry-form textarea {
    resize: none; /* Prevent resizing */
    height: 100px; /* Fixed height for the message box */
}

form#enquiry-form button {
    background-color: #323232;
    color: #eee;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

form#enquiry-form button:hover {
    color: #fff; /* Darker shade on hover */
}

@media screen and (max-width: 768px) { /* Adjust for smaller screens */
    .work-list-grid {
        grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    }
    .work-item img{
        height:200px !important;
    }
    .lightbox-container  {
        flex-direction: column;
    }
}


.exhibition-layout {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 50px 0;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

.exhibition-left {
    flex: 1;
    min-width: 300px; /* Ensure the image doesn't get too small */
    max-width: 50%; /* Prevent the image from taking more than half the space on larger screens */
}

.exhibition-left img {
    width: 100%;
    height: auto;
    display: block;
}

.exhibition-right {
    display: flex;
    flex-direction: column; /* Stack text elements */
    justify-content: center; /* Center text vertically */
    padding: 20px;
    max-width: 50%;
}

.exhibition-title {
    font-size: 24px !important;
    font-weight: 600 !important;
	text-transform: uppercase;
}
.exhibition-location{
    border-bottom: 1px solid #ebebeb;
}

.exhibition-location,
.exhibition-dates,
.exhibition-artists, 
.exhibition-excerpt
{
    font-size: 12px;
    margin-bottom: 0px !important;
    color: #323232;
	padding:10px 0 10px;
}
		
.exhibition-read-more {
	padding: 15px 0;
    color: #323232;
    text-decoration: none !important;
    font-size: 12px;
    text-transform: uppercase;
}
	

/* Responsive Styles */
@media (max-width: 768px) {
    .exhibition-layout {
        flex-direction: column; /* Stack content vertically on smaller screens */
    }

    .exhibition-left,
    .exhibition-right {
        max-width: 100%; /* Take full width on smaller screens */
		text-align: center;
    }

    .exhibition-title {
        font-size: 22px;
    }

    .exhibition-location,
    .exhibition-dates,
    .exhibition-artists {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .exhibition-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .exhibition-location,
    .exhibition-dates,
    .exhibition-artists {
        font-size: 12px;
    }
}

.artists-elementor-post {
    display: grid;
    grid-template-columns: 50px auto; 
    align-items: center; 
    margin-bottom: 20px; 
    column-gap: 15px; 
}

.artists-elementor-post__thumbnail {
    width: 50px;
    height: 50px;
}

.artists-elementor-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px; 
}

.artists-elementor-post__text {
    text-align: left; 
}

.artists-elementor-post__title {
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
    text-transform: uppercase;
}

.artists-elementor-post__title a {
    text-decoration: none;
    color: #3a3a3a; 
}

.artists-elementor-post__title a:hover {
    color: #323232; 
}


.artists-exhibition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px 50px; 
}

.astra-post-grid-title a {
    text-decoration: none !important;
    text-transform: uppercase;
}

.astra-post-grid-content p{
    font-size: 0.8em;
    line-height: 1.5;
    margin-bottom:10px;
}

.artists_description button{

    background: transparent;
    color: #323232;
    border: none;
    text-transform: uppercase;
    font-size: 14px; 
    font-weight: 700;
    cursor: pointer;
    margin: 10px 0px;
    padding: 5px 0;
    box-shadow: none;

}

h3.astra-post-grid-title.work-title {
    line-height: 0.5;
}

.work-title p {
    margin-bottom: 0px;
    font-size: 14px;
} 