/* Deluxe Catering Gallery — full-width editorial social wall */
body:has(.dcig-gallery-shell) {
    background: #000 !important;
}

body:has(.dcig-gallery-shell) main,
body:has(.dcig-gallery-shell) article,
body:has(.dcig-gallery-shell) .entry-content,
body:has(.dcig-gallery-shell) .site-content,
body:has(.dcig-gallery-shell) .content-area,
body:has(.dcig-gallery-shell) .container,
body:has(.dcig-gallery-shell) .elementor-container,
body:has(.dcig-gallery-shell) .elementor-widget-container {
    max-width: none !important;
}

body:has(.dcig-gallery-shell) .entry-content,
body:has(.dcig-gallery-shell) .site-content,
body:has(.dcig-gallery-shell) .content-area {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:has(.dcig-gallery-shell) .entry-title {
    display: none !important;
}

.dcig-gallery-shell {
    --dcig-white: #fff;
    --dcig-muted: rgba(255, 255, 255, 0.68);
    --dcig-line: rgba(255, 255, 255, 0.18);
    --dcig-gap: 3px;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 0 var(--dcig-gap) !important;
    overflow: hidden;
    background: #000;
    color: var(--dcig-white);
}

.dcig-gallery-shell *,
.dcig-gallery-shell *::before,
.dcig-gallery-shell *::after {
    box-sizing: border-box;
}

.dcig-gallery-header {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 14px clamp(16px, 2.2vw, 38px);
    border-bottom: var(--dcig-gap) solid #000;
    background: #050505;
}

.dcig-gallery-heading {
    min-width: 0;
}

.dcig-eyebrow {
    margin: 0 0 3px;
    color: var(--dcig-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.dcig-gallery-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.dcig-social-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.dcig-social-heading {
    color: #fff;
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.dcig-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dcig-social-link {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--dcig-line);
    border-radius: 999px;
    background: transparent;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.dcig-social-link:hover,
.dcig-social-link:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #000 !important;
    transform: translateY(-2px);
}

.dcig-social-link svg {
    display: block;
    width: 20px;
    height: 20px;
}

.dcig-social-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.dcig-social-facebook svg,
.dcig-social-linkedin svg {
    fill: currentColor;
}

.dcig-intro {
    flex: 1 1 100%;
    max-width: 680px;
    margin: 0;
    color: var(--dcig-muted);
    font-size: 13px;
    line-height: 1.45;
}

.dcig-intro p {
    margin: 0;
}

.dcig-plan-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--dcig-line);
    border-radius: 999px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.dcig-grid {
    display: block !important;
    width: 100%;
    column-count: var(--dcig-columns, 4);
    column-gap: var(--dcig-gap);
    background: #000;
}

.dcig-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 var(--dcig-gap);
    overflow: hidden;
    break-inside: avoid;
    vertical-align: top;
    background: #000;
}

.dcig-media-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #000;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.dcig-media-frame {
    position: relative;
    display: block;
    width: 100%;
    min-height: 80px;
    overflow: hidden;
    background: #080808;
}

.dcig-media-frame img,
.dcig-grid-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform 500ms cubic-bezier(.2, .7, .2, 1), filter 220ms ease;
}

.dcig-grid-video {
    pointer-events: none;
    background: #080808;
}

.dcig-media-button:hover img,
.dcig-media-button:hover .dcig-grid-video,
.dcig-media-button:focus-visible img,
.dcig-media-button:focus-visible .dcig-grid-video {
    transform: scale(1.025);
    filter: brightness(0.82);
}

.dcig-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.16);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    opacity: 0;
    text-transform: uppercase;
    transition: opacity 180ms ease;
}

.dcig-media-button:hover .dcig-overlay,
.dcig-media-button:focus-visible .dcig-overlay {
    opacity: 1;
}

.dcig-video-badge {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 9px;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
}

.dcig-play {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    transform: translate(-50%, -50%);
}

.dcig-play span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #fff;
}

.dcig-caption {
    margin: 7px 8px 2px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

.dcig-date {
    display: block;
    margin: 0 8px 8px;
    color: var(--dcig-muted);
    font-size: 10px;
}

.dcig-empty {
    padding: 60px 24px;
    border-top: 1px solid var(--dcig-line);
    background: #080808;
    color: #fff;
    text-align: center;
}

.dcig-empty h2 {
    margin: 0 0 10px;
}

.dcig-empty p {
    margin: 0 0 22px;
    color: var(--dcig-muted);
}

.dcig-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.dcig-button-primary {
    background: #fff;
    color: #000 !important;
}

.dcig-admin-note {
    margin-top: 22px !important;
    font-size: 12px;
}

.dcig-lightbox[hidden] {
    display: none !important;
}

.dcig-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    padding: 34px;
    background: rgba(0, 0, 0, 0.96);
    color: #fff;
}

.dcig-lightbox-content {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    min-height: 0;
    place-items: center;
}

.dcig-lightbox-content img,
.dcig-lightbox-content video {
    display: block;
    max-width: min(1180px, 100%);
    max-height: calc(100vh - 165px);
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.dcig-lightbox-close,
.dcig-lightbox-nav {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.dcig-lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 4px 10px;
    font-size: 46px;
    font-weight: 200;
    line-height: 1;
}

.dcig-lightbox-nav {
    font-size: 64px;
    line-height: 1;
    opacity: 0.76;
}

.dcig-lightbox-nav:hover,
.dcig-lightbox-nav:focus-visible {
    opacity: 1;
}

.dcig-lightbox-prev {
    grid-column: 1;
    grid-row: 1;
}

.dcig-lightbox-next {
    grid-column: 3;
    grid-row: 1;
}

.dcig-lightbox-meta {
    grid-column: 2;
    grid-row: 2;
    width: min(900px, 100%);
    margin: 14px auto 0;
    text-align: center;
}

.dcig-lightbox-meta p {
    max-height: 3.2em;
    margin: 0 auto 6px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.82;
}

.dcig-lightbox-meta a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-underline-offset: 4px;
}

body.dcig-no-scroll {
    overflow: hidden !important;
}

@media (max-width: 1100px) {
    .dcig-grid {
        column-count: 3;
    }
}

@media (max-width: 720px) {
    .dcig-gallery-shell {
        --dcig-gap: 2px;
    }

    .dcig-gallery-header {
        min-height: 72px;
        padding: 10px 10px;
        gap: 12px;
    }

    .dcig-eyebrow {
        font-size: 8px;
    }

    .dcig-gallery-header h1 {
        font-size: 31px;
    }

    .dcig-social-panel {
        gap: 8px;
    }

    .dcig-social-heading {
        display: none;
    }

    .dcig-social-link {
        width: 36px;
        height: 36px;
    }

    .dcig-social-link svg {
        width: 17px;
        height: 17px;
    }

    .dcig-grid {
        column-count: 2;
    }

    .dcig-lightbox {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        padding: 46px 2px 18px;
    }

    .dcig-lightbox-nav {
        font-size: 44px;
    }

    .dcig-lightbox-content img,
    .dcig-lightbox-content video {
        max-height: calc(100vh - 175px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcig-gallery-shell *,
    .dcig-gallery-shell *::before,
    .dcig-gallery-shell *::after {
        transition: none !important;
    }
}

/* v1.2 centered Deluxe wordmark masthead */
.dcig-gallery-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 126px;
}

.dcig-gallery-heading {
    grid-column: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dcig-brand-logo {
    display: block;
    width: clamp(220px, 24vw, 390px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 4px;
}

.dcig-gallery-header h1 {
    text-align: center;
    font-size: clamp(25px, 2.6vw, 42px);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dcig-social-panel {
    grid-column: 3;
    justify-self: end;
}

@media (max-width: 720px) {
    .dcig-gallery-header {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .dcig-gallery-heading,
    .dcig-social-panel {
        grid-column: 1;
        justify-self: center;
    }

    .dcig-brand-logo {
        width: min(290px, 80vw);
        margin-bottom: 2px;
    }

    .dcig-gallery-header h1 {
        font-size: 23px;
    }

    .dcig-social-panel {
        margin-top: 8px;
    }
}
