/*
Theme Name:   Voxel (child theme)
Theme URI:    https://getvoxel.io/
Author:       27collective
Author URI:   https://27collective.net/
Template:     voxel
Version:      1.0
Text Domain:  voxel-child
*/

/* ===== Voxel Gated Content ===== */

/* Default: no gated content — all lock gates hidden */
.voxel-gate-lock {
    display: none !important;
}

/* Content LOCKED: show teaser + appropriate lock gate */
body.has-gated-content.content-locked .voxel-gate-teaser {
    display: block !important;
}
body.has-gated-content.content-locked .voxel-gate-lock {
    display: none !important;
}

/* Show specific gate based on unlock_condition meta */
body.has-gated-content.content-locked.unlock-none .voxel-gate-lock {
    display: none !important;
}
body.has-gated-content.content-locked.unlock-logged_in .gate-login {
    display: block !important;
}
body.has-gated-content.content-locked.unlock-comment .gate-comment {
    display: block !important;
}
body.has-gated-content.content-locked.unlock-follow-author .gate-follow-author {
    display: block !important;
}
body.has-gated-content.content-locked.unlock-follow-post .gate-follow-post {
    display: block !important;
}

/* Content UNLOCKED: hide teaser + all lock gates, show full content */
body.has-gated-content.content-unlocked .voxel-gate-teaser {
    display: none !important;
}
body.has-gated-content.content-unlocked .voxel-gate-lock {
    display: none !important;
}
body.has-gated-content.content-unlocked .voxel-gate-full {
    display: block !important;
}

/* Full content section: hidden by default */
.voxel-gate-full {
    display: none !important;
}

/* No gated content: show full content normally */
body:not(.has-gated-content) .voxel-gate-full {
    display: block !important;
}
