/* Departure Documentation Gallery — 04ef46ea */

/* Wrapper */
.ddg-04ef46ea-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
.ddg-04ef46ea-header {
    margin-bottom: 60px;
}

.ddg-04ef46ea-top-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 14px;
}

.ddg-04ef46ea-heading {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    padding: 0;
}

.ddg-04ef46ea-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.6;
    max-width: 560px;
    margin: 0;
}

.ddg-04ef46ea-header[style*="text-align: center"] .ddg-04ef46ea-description,
.ddg-04ef46ea-header[style*="text-align:center"] .ddg-04ef46ea-description {
    margin-left: auto;
    margin-right: auto;
}

/* Masonry Grid */
.ddg-04ef46ea-masonry {
    columns: 3;
    gap: 24px;
}

/* Card */
.ddg-04ef46ea-card {
    break-inside: avoid;
    margin-bottom: 24px;
    overflow: hidden;
    background: transparent;
    border-radius: 4px;
}

/* Image Orientations */
.ddg-04ef46ea-orient-landscape .ddg-04ef46ea-image-wrap {
    aspect-ratio: 3 / 2;
}

.ddg-04ef46ea-orient-portrait .ddg-04ef46ea-image-wrap {
    aspect-ratio: 3 / 4;
}

.ddg-04ef46ea-orient-square .ddg-04ef46ea-image-wrap {
    aspect-ratio: 1 / 1;
}

/* Image Wrapper */
.ddg-04ef46ea-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
}

.ddg-04ef46ea-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Overlay */
.ddg-04ef46ea-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 600ms ease;
    pointer-events: none;
    z-index: 1;
}

.ddg-04ef46ea-card:hover .ddg-04ef46ea-overlay {
    opacity: 1;
}

.ddg-04ef46ea-card:hover .ddg-04ef46ea-img {
    transform: scale(1.05);
}

/* Lightbox Trigger */
.ddg-04ef46ea-lightbox-trigger {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 400ms ease, transform 400ms ease, background 200ms ease;
    color: #1a1a1a;
    padding: 0;
}

.ddg-04ef46ea-card:hover .ddg-04ef46ea-lightbox-trigger {
    opacity: 1;
    transform: translateY(0);
}

.ddg-04ef46ea-lightbox-trigger:hover {
    background: #fff;
}

/* Card Content */
.ddg-04ef46ea-card-content {
    padding: 16px 0 8px 0;
}

.ddg-04ef46ea-number {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 6px;
}

.ddg-04ef46ea-item-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 4px 0;
    padding: 0;
    transition: opacity 300ms ease;
}

.ddg-04ef46ea-item-title-link {
    text-decoration: none;
    color: inherit;
}

.ddg-04ef46ea-item-title-link:hover .ddg-04ef46ea-item-title {
    opacity: 0.65;
}

.ddg-04ef46ea-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.5;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

/* Fade-Up Animation */
.ddg-04ef46ea-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ddg-04ef46ea-animate.ddg-04ef46ea-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.ddg-04ef46ea-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 350ms ease;
    cursor: zoom-out;
}

.ddg-04ef46ea-lightbox-modal.ddg-04ef46ea-lb-active {
    opacity: 1;
}

.ddg-04ef46ea-lightbox-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ddg-04ef46ea-lightbox-img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ddg-04ef46ea-lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.ddg-04ef46ea-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 200ms ease;
    padding: 0;
}

.ddg-04ef46ea-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ddg-04ef46ea-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 200ms ease;
    padding: 0;
}

.ddg-04ef46ea-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ddg-04ef46ea-lightbox-prev {
    left: 20px;
}

.ddg-04ef46ea-lightbox-next {
    right: 20px;
}

/* Counter */
.ddg-04ef46ea-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Responsive Columns */
@media (max-width: 1024px) {
    .ddg-04ef46ea-masonry {
        columns: 2;
    }
    .ddg-04ef46ea-heading {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .ddg-04ef46ea-masonry {
        columns: 1;
    }
    .ddg-04ef46ea-heading {
        font-size: 28px;
    }
    .ddg-04ef46ea-header {
        margin-bottom: 36px;
    }
    .ddg-04ef46ea-lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .ddg-04ef46ea-lightbox-prev {
        left: 10px;
    }
    .ddg-04ef46ea-lightbox-next {
        right: 10px;
    }
}
