/* Global Life Today - Main Theme Stylesheet */

/* Responsive Layout Grid & Flex Utilities (Pure CSS Fallback & Enhancements) */
.glt-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Audio Player Range Slider Styling */
input[type=range].glt-audio-scrubber {
    -webkit-appearance: none;
    appearance: none;
    background: #374151;
    height: 4px;
    border-radius: 2px;
    outline: none;
}
input[type=range].glt-audio-scrubber::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    transition: transform 0.1s;
}
input[type=range].glt-audio-scrubber::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: #dc2626;
}

/* Section Spacing Utilities for Customizer */
.glt-spacing-compact {
    margin-bottom: 2rem !important;
}
.glt-spacing-normal {
    margin-bottom: 3.5rem !important;
}
.glt-spacing-relaxed {
    margin-bottom: 5rem !important;
}
.glt-spacing-spacious {
    margin-bottom: 6.5rem !important;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-gap: 1rem;
    margin-bottom: 1.5rem;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Comment Styles */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-list li.comment {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: #f9fafb;
    border: 1px solid #e6e8ea;
}
.comment-list li.comment .children {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid #e6e8ea;
}

/* Section Styling Utilities */
.glt-section-wrapper {
    position: relative;
}

.glt-section-edit-pen {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #b80000;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
}

.glt-section-edit-pen:hover {
    transform: scale(1.1);
}

/* Additional Scrollbar Styles */
#glt-log-box {
    scrollbar-width: thin;
    scrollbar-color: #b80000 #0f172a;
}

#glt-log-box::-webkit-scrollbar {
    width: 6px;
}

#glt-log-box::-webkit-scrollbar-track {
    background: #0f172a;
}

#glt-log-box::-webkit-scrollbar-thumb {
    background-color: #b80000;
    border-radius: 3px;
}

