/* Base Styles */
body {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: Verdana;
    line-height: 1.6;
    width: 85%;
    margin: auto;
    font-size: 15pt;
}

img {
    margin: 0 0.5em;
    border-radius: 5px;
}

/* Remove rounded corners for blog post images */
.blog-image {
    border-radius: 0;
}

a {
    color: #000000;
}

a:hover {
    color: #FF6961;
    opacity: 0.8;
}

::selection {
    background: rgb(220, 220, 220);
}

.nav {
    margin: 2em auto;
    text-align: center;
}

.center {
    width: fit-content;
    margin: auto;
    text-align: center;
}

.section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.postInfo {
    font-size: 10pt;
    font-style: italic;
}

/* Blog/Post Styles */
.blog:not(:last-child) {
    border-bottom: 1px solid rgba(19, 18, 18, 0.493);
    padding-bottom: 1.3em;
    margin-bottom: 2.5em;
}

.blog-post {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blog-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 0; /* Remove rounded corners for blog post images */
}

.post-meta {
    text-align: center;
    margin-top: 20px;
}

.blog-post p {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    line-height: 2.2;
    margin: 1.5em auto;
    max-width: 600px;
    display: block;
}

.blog-post p:hover {
    opacity: 1;
}

.blog-post br {
    display: block;
    margin: 0.8em 0;
}

.blog-post p span {
    display: block;
    margin: 0.8em 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
    margin-top: 1em;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Remove rounded corners for gallery items */
    aspect-ratio: 1 / 1;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0; /* Remove rounded corners for gallery images and videos */
}

/* Custom Tooltip */
.custom-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
    display: none;
}

/* Archive List */
.archive-list {
    list-style-type: none;
    padding-left: 0;
}

.archive-list li {
    margin: 0.5em 0;
}

.archive-date {
    text-decoration: underline;
}

/* Back Links */
.back-links {
    text-align: center;
    margin: 2em auto;
    font-size: 18px;
}

.back-links a {
    color: #b4a030;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.back-links a:hover {
    text-decoration: underline;
}

/* Video Banner */
.video-banner {
    width: 100%;
    max-width: 2037px;
    margin: 1em auto;
    display: block;
}

.video-banner video {
    width: 100%;
    height: auto;
    display: block;
}

audio {
    display: block;
    margin: 20px auto;
}