/* ===== Single Gallery Item Page: strip theme sidebar/title/meta ===== */
.ge-showcase-page-wrapper {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
}

/* Hide common sidebar / title / meta containers most themes (incl. BuddyBoss-based builds) use.
   If your theme's sidebar still shows, inspect it in the browser and send us the exact
   class/ID so we can add the precise selector here. */
body.ge-showcase-page #secondary,
body.ge-showcase-page .widget-area,
body.ge-showcase-page .sidebar,
body.ge-showcase-page .bb-sidebar,
body.ge-showcase-page .entry-title,
body.ge-showcase-page .entry-header,
body.ge-showcase-page .entry-meta,
body.ge-showcase-page .entry-footer,
body.ge-showcase-page .post-navigation,
body.ge-showcase-page .comments-area {
    display: none !important;
}

body.ge-showcase-page #primary,
body.ge-showcase-page .content-area,
body.ge-showcase-page #main,
body.ge-showcase-page .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* ===== Gallery Experience ? Frontend Styles ===== */
:root {
    --ge-navy: #1b1140;
    --ge-navy-dark: #150c30;
    --ge-purple: #7c3aed;
    --ge-purple-light: #c9a6f7;
    --ge-gold: #f0b429;
    --ge-gold-dark: #d99a1e;
    --ge-radius: 14px;
}

/* Grid listing */
.ge-grid {
    display: grid;
    grid-template-columns: repeat(var(--ge-columns, 4), 1fr);
    gap: 22px;
}

@media(max-width:900px) {
    .ge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:520px) {
    .ge-grid {
        grid-template-columns: 1fr;
    }
}

.ge-card {
    background: #0d0a1f;
    border-radius: var(--ge-radius);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    transition: .3s ease;
}

.ge-card-img {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.ge-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.ge-card:hover {
    transform: translateY(-10px)
}

.ge-card:hover .ge-card-img img {
    transform: scale(1.05);
}

.ge-card-body {
    padding: 14px 16px 18px;
    background: var(--ge-navy-dark);
}

.ge-card-title {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 12px;
}

.ge-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    padding: 10px 18px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.ge-btn-gold {
    background: linear-gradient(to right, rgb(212, 160, 16), rgb(240, 192, 48));
    color: #1A0A00;
    width: 100%;
}

.ge-btn-gold:hover {
    color: #1A0A00;
}

.ge-btn-purple {
    background: var(--ge-purple-light);
    color: #3a1470;
    width: 100%;
}

.ge-btn-purple:hover {
    filter: brightness(0.95);
}

/* Showcase (single image experience) */
.ge-showcase {
    flex: 1 1 0%;
    min-height: 0px;
    max-width: 1060px;
    width: 100%;
    margin: 0px auto;
    padding: 16px 24px 0px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: row;
    height: 100%;
}

.ge-main-col {
    flex: 1 1 0%;
    min-height: 0px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
}

.ge-main-col img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 16px;
}

@media(max-width:860px) {
    .ge-showcase {
        grid-template-columns: 1fr;
    }
}

.ge-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.ge-image-frame img {
    width: 100%;
    display: block;
}

.ge-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.ge-nav-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 2px solid rgb(201, 168, 76);
    background: transparent;
    color: rgb(201, 168, 76);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    opacity: 0.4;
    transition: opacity 0.2s;
    flex-shrink: 0;
    text-decoration: none;
}

.ge-nav-arrow-active {
    background: rgb(201, 168, 76);
    color: rgb(26, 10, 46);
    opacity: 1;
}

.ge-nav-counter {
    font-weight: 600;
    color: #333;
}

.ge-side-col {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-start;
    justify-content: flex-start;
    overflow: visible auto;
    max-height: calc(-116px + 100vh);
    padding: 0px 0px 16px;
    margin: 0px;
    box-sizing: border-box;
}

.ge-title-card {
    background: linear-gradient(to right, rgb(240, 192, 48), rgb(200, 138, 0));
    border-radius: 12px;
    padding: 16px 20px;
    border: 2px solid rgb(184, 122, 0);
    text-align: center;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0px;
}

.ge-title-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: rgb(26, 10, 0);
    font-family: Georgia, serif;
}

.ge-title-card .ge-author {
    font-size: 13px;
    color: rgb(58, 31, 0);
    margin-top: 4px;
    font-family: 'Inter';
}

.ge-side-btn {
    width: 100%;
    height: 54px;
    background: rgb(42, 16, 96);
    border: 2px solid rgb(201, 160, 32);
    box-shadow: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0px 18px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Inter';
    text-align: left;
}

.ge-side-btn:hover {
    background-color: rgb(61, 31, 128);
}

.ge-side-btn .ge-icon {
    width: 34px;
    height: 34px;
    background: rgb(61, 31, 128);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ge-side-btn.is-active {
    background: var(--ge-purple);
}

.ge-fav-count {
    font-weight: 400;
    opacity: .8;
}

/* Audio Player panel */
.ge-audio-player {
    background: linear-gradient(135deg, rgb(245, 200, 66) 0%, rgb(232, 168, 0) 60%, rgb(200, 134, 10) 100%);
    border-radius: 12px;
    padding: 14px 16px;
    border: 2px solid rgb(184, 122, 0);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 20px;
    position: relative;
}

.ge-audio-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ge-audio-time {
    font-size: .85rem;
    margin-bottom: 10px;
}

.ge-audio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 12px;
}

.ge-audio-controls button {
    font-size: 1.2rem;
    color: #241a04;
    padding: 0;
}

.ge-audio-play {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #f0b429 !important;
}

.ge-audio-tools {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
}

.ge-audio-tools button {
    background: none;
    border: none;
    cursor: pointer;
    color: #241a04;
    padding: 0px;
}
.ge-audio-tools button:focus
{
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
}

.ge-audio-tools button:hover {
    background-color: transparent !important;
}

.ge-audio-tools span {
    font-size: 10px;
    color: rgb(90, 58, 0);
    font-weight: 600;
}

.ge-audio-prev {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ge-audio-prev:hover {
    background: rgba(0, 0, 0, 0.15) !important;
}

.ge-audio-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
}

.ge-audio-play:hover {
    background: rgba(0, 0, 0, 0.15) !important;
}

.ge-audio-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ge-audio-next:hover {
    background: rgba(0, 0, 0, 0.15) !important;
}

.ge-audio-tools {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 10px;
}

.ge-music-icon {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ge-music-icon:before {
    content: '&#9835;';
    position: relative;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.ge-audio-tool-icon {
    width: 30px;
    ;
    height: 30px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Modals (shared) */
.ge-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 25, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    padding: 40px 16px;
    overflow: auto;
}

.ge-modal-inner {
    width: min(1060px, 96vw);
    max-height: 90vh;
    background: white;
    border-radius: 16px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 24px;
    position: relative;
    direction: ltr;
}

.ge-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

/* About modal */
.ge-modal-header-gold {
    background: linear-gradient(135deg, var(--ge-gold), var(--ge-gold-dark));
    padding: 20px 24px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ge-modal-header-gold h3 {
    margin: 0;
    color: #241a04;
}

.ge-text-size {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: #241a04;
}

.ge-lang-select {
    padding: 10px 24px;
    background: #faf3d9;
    font-size: .85rem;
}

.ge-about-body {
    padding: 20px 24px 28px;
    max-height: 60vh;
    overflow: auto;
}

.ge-about-body h4 {
    margin-top: 0;
}

.ge-about-body .ge-callout {
    background: #e8f2ff;
    border-left: 4px solid #4a90d9;
    padding: 14px 16px;
    border-radius: 8px;
    margin: 14px 0;
}

/* Comments modal */
.ge-comments-layout {
    display: flex;
    gap: 24px;
    padding: 26px;
}

.ge-comments-image {
    flex: 0 0 200px;
}

.ge-comments-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.ge-comments-form-col {
    flex: 1;
    min-width: 0;
}

.ge-comments-form-col h3 {
    color: var(--ge-purple);
    margin: 0 0 14px;
    letter-spacing: .5px;
    border-bottom: 2px solid var(--ge-purple-light);
    padding-bottom: 10px;
}

.ge-rating-label {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ge-star-rating {
    margin-bottom: 14px;
}

.ge-star {
    font-size: 1.4rem;
    color: #ddd;
    cursor: pointer;
    margin-right: 4px;
}

.ge-star.is-active {
    color: var(--ge-gold);
}

.ge-comment-text {
    width: 100%;
    height: 80px;
    resize: none;
    border: 1.5px solid rgb(208, 176, 240);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    color: rgb(51, 51, 51);
    box-sizing: border-box;
    font-family: 'Inter';
}

.ge-char-count {
    color: rgb(153, 153, 153);
    font-family: 'Inter';
    font-size: 13px;
    text-align: right;
    margin: 6px 0 14px;
}

.ge-comments-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ge-comment-item {
    display: flex;
    gap: 10px;
    flex: 1 1 220px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
}

.ge-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ge-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.ge-comment-body strong {
    font-weight: 700;
    font-family: 'Inter';
    font-size: 14px;
    color: rgb(34, 34, 34);
    display: block;
    line-height: 1.5;
}

.ge-comment-date {
    font-size: 12px;
    line-height: 1.5;
    color: rgb(153, 153, 153);
    font-family: 'Inter';
}

.ge-comment-body p {
    font-size: 14px;
    color: rgb(51, 51, 51);
    line-height: 1.6;
    margin-bottom: 12px;
    margin-top: 10px;
    font-family: 'Inter';
}

.ge-reactions {
    display: flex;
    gap: 6px;
}
.ge-btn.ge-submit-comment
{
    width: 100%;
    height: 48px;
    background: rgb(224, 192, 248);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 999px;
    margin-top: 12px;
    transition: background 0.2s;
}
.ge-reaction-btn {
    font-size: 18px;
    background: rgba(200, 180, 255, 0.15);
    border: 1px solid rgba(155, 109, 255, 0.2);
    box-shadow: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transform: scale(1);
}

.ge-reaction-btn.is-active {
    background: var(--ge-purple-light);
}

.ge-reaction-btn img.emoji
{
    width: 18px;
    height: 21px;
}

@media(max-width:600px) {
    .ge-comments-layout {
        flex-direction: column;
    }

    .ge-comments-image {
        flex: none;
    }
}

/* ===== Global Music Playlist additions ===== */
.ge-audio-header {
    position: relative;
}

.ge-audio-title
{
    font-size: 13px;
    font-family: 'Inter';
    font-weight: 700;
    color: rgb(58, 31, 0);
    line-height: 1.2;
    flex: 1 1 0%;
    padding-right: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-audio-close {
    background: rgba(0, 0, 0, .15);
    border: none;
    color: #3a1f00;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    margin-left: auto;
    padding: 0;
}

.ge-audio-close:hover {
    background: rgba(0, 0, 0, .25);
}

.ge-audio-playlist-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.ge-playlist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    text-align: left;
    opacity: 1;
    line-height: 1.5;
    font-family: 'Inter';
    font-size: 12px;
    color: rgb(58, 31, 0);
}

.ge-playlist-row:before {
    content: counter(ge-track) ". ";
    font-weight: 600;
    opacity: .7;
}

.ge-audio-playlist-list {
    counter-reset: ge-track;
}

.ge-playlist-row:hover {
    background: rgba(0, 0, 0, .06);
}

.ge-playlist-row.is-active {
    font-weight: 700;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 6px;
}

/* ===== Comment Replies ===== */
.ge-reply-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgb(144, 96, 192);
    font-size: 13px;
    cursor: pointer;
    background: none;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    padding: 0px;
    font-family: 'Inter';
    font-weight: 600;
}

.ge-reply-toggle:hover {
    text-decoration: underline;
}

.ge-reply-form {
    margin-top: 10px;
}

.ge-reply-text {
    width: 100%;
    min-height: 50px;
    border: 1.5px solid var(--ge-purple-light);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: .85rem;
    resize: vertical;
    margin-bottom: 6px;
}

.ge-submit-reply {
    padding: 6px 16px;
    font-size: .85rem;
    width: auto;
}

.ge-replies-list {
    margin-top: 10px;
    padding-left: 16px;
    border-left: 2px solid #eee;
}

.ge-reply-item {
    margin-top: 10px;
}

.ge-reply-avatar {
    width: 28px;
    height: 28px;
    font-size: .8rem;
    background: var(--ge-purple-light);
    color: #3a1470;
}