﻿body {
    font-family:Segoe UI,century gothic,arial,verdana;
    background-color: #FFFFF0;
    color: #010101;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    line-height: 1.6;
    cursor: url('SU.cur'), default;
    font-weight: 300; /* Global font-weight for body text */
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.container h1 {
    text-align: center;  /* Centers the text */
    margin-top: 0;       /* Removes the space above it */
    margin-bottom: 5px;  /* Adds a tiny space so it rests just above the slider */
}

/* Fix for H1-to-slider spacing */
.container .slider-container {
    height: auto; /* Resets the fixed 185px height */
    justify-content: flex-start; /* Stops centering the slider vertically */
}

img {
  max-width: 100%; /* Ensures the image never exceeds its parent's width */
  height: auto;    /* Maintains the image's aspect ratio */
  display: block;  /* Prevents extra space below the image */
}
.bold
{
font-weight: 600;
}

strong {
  font-weight: 500 */
}

.logo {
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: 500;
}

h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Base paragraph font size for smaller screens (mobile first) */
p {
    font-size: 1rem; /* Base for mobile, equivalent to 16px */
    margin-bottom: 15px;
    text-align: justify;
    font-weight: inherit;
}

.chapter {
    margin-bottom: 30px;
    text-align: left;
    margin: 20px 0;
}

.snippet-section {
    margin-bottom: 30px;
    text-align: left;
    margin: 20px 0;
}

.snippet {
    background-color: #f1f3f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid #007bff;
    border: 1px solid #ddd;
    background-color: #fff;
}

.snippet-title {
    color: #007bff;
    font-size: 1.25rem;
    margin-bottom: 10px;
    cursor: pointer;
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.snippet-title:hover {
    text-decoration: underline;
}

.snippet-preview,
.snippet-full {
    margin-bottom: 10px;
    text-align: left;
}

.snippet-preview p,
.snippet-full p {
    font-size: 1rem; /* Base for mobile */
    color: #333;
    text-align: left;
    margin-bottom: 15px;
    font-weight: inherit;
}

.snippet-preview-text {
    font-size: 1rem; /* Base for mobile */
    color: #333;
    text-align: left;
    margin-bottom: 15px;
    margin-bottom: 10px;
    font-weight: inherit;
}

.snippet-toggle {
    margin-top: 10px;
}

.snippet-form {
    margin-bottom: 30px;
    text-align: left;
    margin: 20px 0;
}

.input-text,
.input-textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    width: 100%;
    margin: 10px 0;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-family:Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: inherit;
}

.input-text:focus,
.input-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.input-textarea {
    height: 150px;
    resize: vertical;
    min-height: 150px;
}

.snippet-list {
    margin-bottom: 30px;
    text-align: left;
    margin: 20px 0;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin: 5px;
    font-size: 1em;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    font-weight: normal;
    cursor: url('SU2.cur'), pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Added subtle drop shadow */
}

.btn-primary {
    background-color: #FFFF00; /* A warm orange */
    cursor: url('SU2.cur'), pointer;
    color: #010101;
}

.btn-primary:hover {
    background-color: red; /* A darker orange for hover */
    cursor: url('SU2.cur'), pointer;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    cursor: url('SU2.cur'), pointer;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    cursor: url('SU2.cur'), pointer;
    transform: translateY(-2px);
}

.btn-debug {
    background-color: #dc3545;
    color: #010101;
}
.btn-debug:hover {
    background-color: #c82333;
}


.input-email {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-weight: inherit;
}

.input-email:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
    box-sizing: border-box;
}

.modal-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: bold;
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1em;
    font-weight: inherit;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    text-align: center;
}

.cookie-consent p {
    margin: 0 0 10px;
    font-size: 1em;
    font-weight: inherit;
}

.cookie-consent a {
    color: #007bff;
    text-decoration: underline;
    font-weight: normal;
}

/* Password Container */
.password-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.password-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-weight: inherit;
}

/* Specific overrides for privacy_policy.html */
.privacy-policy-container {
    text-align: left;
}
.privacy-policy-container h1,
.privacy-policy-container h2 {
    text-align: left;
}
.privacy-policy-container p,
.privacy-policy-container li {
    font-size: 1em; /* Base for mobile */
    line-height: 1.6;
    font-weight: inherit;
}
.privacy-policy-container ul {
    margin: 15px 0;
    padding-left: 20px;
}


/* Responsive adjustments for mobile (from all HTML files, consolidated) */
@media screen and (max-width: 600px) {
    .container, .password-container {
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    p {
        font-size: 0.9em;
        font-weight: inherit;/* Smaller on mobile, from 1rem base on larger screens */
    }
    .chapter h3 {
        font-size: 1.2em;
    }
    .btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    .modal-content {
        width: 85%;
        padding: 15px;
    }
    .modal-content h2 {
        font-size: 1.5em;
    }
    .modal-content p {
        font-size: 1em;font-weight: inherit;
    }
    .cookie-consent p {
        font-size: 0.9em;font-weight: inherit;
    }
    .snippet-title {
        font-size: 1.2em;
    }
    .snippet {
        padding: 10px;
        margin-bottom: 15px;
    }
    .input-text, .input-textarea, .password-input {
        font-size: 0.9em;
    }
    .privacy-policy-container p,
    .privacy-policy-container li {
        font-size: 0.9em; /* Smaller on mobile, from 1em base on larger screens */
    }
}

/* Media query for larger screens (e.g., desktops, tablets in landscape) */
@media screen and (min-width: 601px) {
    p {
        font-size: 1.15rem; 
	font-weight: inherit;     
	/* ~18.4px */
    }
    .snippet-preview p,
    .snippet-full p {
        font-size: 1.15rem;
        font-weight: inherit;
    }
    .snippet-preview-text {
        font-size: 1.15rem;
    }
    .modal-content p {
        font-size: 1.1rem;
	font-weight: inherit;        /* Slightly smaller for modals */
    }
    .cookie-consent p {
        font-size: 1.05rem; 
        font-weight: inherit;/* Slightly smaller for cookie consent */
    }
    .privacy-policy-container p,
    .privacy-policy-container li {
        font-size: 1.15rem;
    }
}

/* Optional: Even larger for very big screens, if needed */
@media screen and (min-width: 1025px) {
    p {
        font-size: 1.25rem;
        font-weight: inherit;/* ~20px */
    }
    .snippet-preview p,
    .snippet-full p {
        font-size: 1.25rem;
        font-weight: inherit;
    }
    .snippet-preview-text {
        font-size: 1.25rem;
    }
    .privacy-policy-container p,
    .privacy-policy-container li {
        font-size: 1.25rem;
    }
}

        h1, h2, h3 {
            color: #333;
        }
        p {
            line-height: 1.6;
            color: #555;
            font-weight: inherit;
        }
.button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #FFFF00; /* Warm Orange */
            color: #010101;
            text-decoration: none;
            cursor: url('SU2.cur'), pointer;
            border-radius: 5px;
            margin: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Added subtle drop shadow */
        }
        .button:hover {
            background-color: #BA4A00; /* Darker Orange */
        }
        .chapter {
            margin: 20px 0;
            text-align: left;
        }
        .chapter p {
            margin: 10px 0;
            font-weight: inherit;
        }
        .age-verification {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            justify-content: center;
            align-items: center;
        }
        .age-verification-content {
            background: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
        }
        .cookie-consent {
            position: fixed;
            bottom: 0;
            width: 100%;
            background: white;
            color: #010101;
            padding: 10px;
            text-align: center;
        }

/* Add this to your styles.css file */
.comment-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #ddd;
}

.input-file {
    margin-top: 5px;
}


/* styles.css (add these at the end) */

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.gallery-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

/* Gallery Upload Preview Styles */
.gallery-preview-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gallery-preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Gallery Admin Styles */
.gallery-admin-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.gallery-admin-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.gallery-admin-item p {
    font-size: 0.9em;
    margin: 10px 0;
    min-height: 40px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-size: 1.2em;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* styles.css (add these at the end) */

/* Gallery Group Styles */
.gallery-group {
    margin-bottom: 40px; /* Space between groups */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-group-odd {
    background-color: #f9f9f9; /* Light grey for odd groups */
}

.gallery-group-even {
    background-color: #ffffff; /* White for even groups */
}

.gallery-group-header {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Grid within a group (can reuse .gallery-grid if desired) */
.gallery-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

/* Thumbnail Container */
.thumbnail-container {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent caption overflow */
}

.gallery-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid #eee; /* Subtle border */
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail-caption {
    font-size: 0.8em; /* Small text for caption */
    color: #666;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ... if text is too long */
    height: 1.2em; /* Limit height to one line approx */
}


/* Updated Lightbox Styles for Navigation */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Ensure text selection is off */
    user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: block; /* Ensure it behaves like an image */
    margin: auto; /* Center horizontally */
}

.lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-size: 1.2em;
    text-align: center;
    padding: 0 10px; /* Add padding for long captions */
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover {
    color: #bbb;
}

/* Lightbox Navigation Arrows */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px; /* Adjust vertical centering */
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3); /* Slight background */
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text-blue {
  color: #0000FF; /* A specific shade of blue */
}

.text-red {
  color: #FF0000; /* A specific shade of red */
}

a {
    text-decoration: none;
}


.pin-container {
    display: flex;
    justify-content: center; /* Aligns boxes in the center */
    gap: 10px; /* Space between the boxes */
    margin-top: 10px;
}

.pin-box {
    width: 45px; /* Width of each box */
    height: 55px; /* Height of each box */
    font-size: 24px; /* Size of the number inside */
    text-align: center; /* Center the number */
    border: 2px solid #ccc;
    border-radius: 8px;
    /* Remove the default arrows for number inputs (if you use type="number") */
    -moz-appearance: textfield;
}

.pin-box:focus {
    /* Optional: Highlight the active box */
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
    outline: none;
}

/* styles.css (Additions for Spectrum Tags) */

/* Style for the dropdown in the main form */
.input-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
    background-color: #fff;
    font-size: 1em;
}

/* Style for displaying the tag on comments */
.spectrum-tag {
    display: inline-block; /* Allows margin */
    margin-left: 15px;
    font-size: 0.85em;
    font-style: italic;
    color: #777;
    background-color: #eee;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle; /* Align nicely with the title */
}

/* Ensure comment content div handles TinyMCE content properly */
.comment-content div {
    word-wrap: break-word; /* Break long words/links */
    overflow-wrap: break-word;
    margin-top: 10px; /* Space below header */
}
.comment-content div p { /* Target paragraphs inside the content */
    margin-top: 0;
    margin-bottom: 0.5em; /* Space between paragraphs */
}
.comment-content div img { /* Ensure images added via TinyMCE are responsive */
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Adjust reply button alignment if needed */
.comment-actions {
    margin-top: 15px;
    text-align: right;
}

.navbar {
    /* Enables Flexbox on the container */
    display: flex;

    /* Distributes space evenly between the items */
    justify-content: space-around;
    /* OR use 'space-between' to put equal space between them, but none on the ends */

    /* Aligns items vertically in the center */
    align-items: center;

    /* Removes the default padding/margin from the container if you need to go edge-to-edge */
    margin: 0;
    padding: 0;
}