.gallerypress-container {
    max-width: 1000px;
    margin: 30px auto;
    font-family: inherit;
    box-sizing: border-box;
}

.gallerypress-container *, 
.gallerypress-container *:before, 
.gallerypress-container *:after {
    box-sizing: inherit;
}

.gp-main-display {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0a192f; /* Navy background */
    border: 1px solid #172a45;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gp-slide-stage {
    width: 100%;
    position: relative;
}

.gp-slide {
    display: none;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.gp-slide.active {
    display: flex;
    opacity: 1;
}

/* Full wide and fluid image wrapper */
.gp-slide-image-wrapper {
    width: 100%;
    background: #0a192f;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gp-slide-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover; /* Fluidly fits and covers width while maintaining aspect ratio */
    display: block;
}

.gp-slide-caption {
    padding: 25px;
    background: #0a192f;
    color: #ffffff;
    flex-grow: 1;
}

.gp-slide-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.6rem;
    color: #ffffff;
}

.gp-slide-description {
    color: #cbd5e1; /* Light grayish-blue for readable contrast on navy */
    font-size: 1rem;
    line-height: 1.6;
}

.gp-slide-description > *:last-child {
    margin-bottom: 0;
}

/* Navy Navigation Arrows */
.gp-nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #172a45; /* Navy themed buttons */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.gp-nav-btn:hover {
    background: #203a61;
}

.gp-prev {
    left: 15px;
}

.gp-next {
    right: 15px;
}

/* Thumbnail Navigation Strip */
.gp-thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 4px;
    scrollbar-width: thin;
}

.gp-thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.gp-thumbnail-strip::-webkit-scrollbar-thumb {
    background: #172a45;
    border-radius: 3px;
}

.gp-thumb-item {
    flex: 0 0 75px;
    height: 60px;
    border: 2px solid #172a45;
    border-radius: 4px;
    padding: 0;
    background: #0a192f;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.25s ease;
}

.gp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-thumb-item:hover {
    opacity: 0.8;
}

.gp-thumb-item.active {
    border-color: #64ffda; /* Accent highlight for active thumbnail */
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Mobile Adjustments */
@media (max-width: 600px) {
    .gp-slide-image-wrapper img {
        max-height: 320px;
    }
    .gp-nav-btn {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
    .gp-thumb-item {
        flex: 0 0 60px;
        height: 48px;
    }
}
